Skip to content
Snippets Groups Projects
Commit b3655504 authored by Howard Chu's avatar Howard Chu
Browse files

Tweak prev commit

parent 17a42152
Branches
Tags
No related merge requests found
......@@ -66,7 +66,7 @@ static ConfigTable bdbcfg[] = {
{ "dbconfig", "DB_CONFIG setting", 1, 0, 0, ARG_MAGIC|BDB_CONFIG,
bdb_cf_gen, "( OLcfgDbAt:1.3 NAME 'olcDbConfig' "
"DESC 'BerkeleyDB DB_CONFIG configuration directives' "
"SYNTAX OMsDirectoryString )",NULL, NULL },
"SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )",NULL, NULL },
{ "dbnosync", NULL, 1, 2, 0, ARG_ON_OFF|ARG_MAGIC|BDB_NOSYNC,
bdb_cf_gen, "( OLcfgDbAt:1.4 NAME 'olcDbNoSync' "
"DESC 'Disable synchronous database writes' "
......@@ -516,15 +516,8 @@ bdb_cf_gen(ConfigArgs *c)
ptr += STRLENOF("dbconfig");
while (!isspace(*ptr)) ptr++;
while (isspace(*ptr)) ptr++;
} else {
if (*ptr == '{') {
ptr = strchr( ptr+1, '}');
if (!ptr)
return(1);
ptr++;
}
}
if ( bdb->bi_flags & BDB_IS_OPEN ) {
bdb->bi_flags |= BDB_UPD_CONFIG;
c->cleanup = bdb_cf_cleanup;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment