]> git.sur5r.net Git - openldap/commitdiff
minor cleanup OPENLDAP_AC_BP
authorPierangelo Masarati <ando@openldap.org>
Thu, 11 Aug 2005 23:53:52 +0000 (23:53 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 11 Aug 2005 23:53:52 +0000 (23:53 +0000)
servers/slapd/back-bdb/config.c
servers/slapd/back-bdb/search.c

index 82169471e98f9e1a5f49a2e1806cefd140d93358..5c5ff8428ef16811e47d5ef4ced51b051d641191 100644 (file)
@@ -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' "
index 819e3c5196f6e39c2edc2c8d06c72a8592eaa40b..a7525be1d813774c8ad10c7c6ad86b5d199f3a04 100644 (file)
@@ -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