From: Pierangelo Masarati Date: Thu, 11 Aug 2005 23:53:52 +0000 (+0000) Subject: minor cleanup X-Git-Tag: OPENLDAP_AC_BP X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e93c8f18d4a4240a3f22265a1475fd09178589a2;p=openldap minor cleanup --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 82169471e9..5c5ff8428e 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -67,7 +67,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 X-ORDERED 'VALUES' )",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' " diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 819e3c5196..a7525be1d8 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -833,7 +833,7 @@ fetch_entry_retry: if ( rs->sr_err == LDAP_COMPARE_TRUE ) { /* check size limit */ - if ( --op->ors_slimit == -1) { + if ( --op->ors_slimit == -1 ) { #ifdef SLAP_ZONE_ALLOC slap_zn_runlock(bdb->bi_cache.c_zctx, e); #endif