]> git.sur5r.net Git - openldap/commitdiff
Fix LDBM_SYNC typo
authorKurt Zeilenga <kurt@openldap.org>
Sat, 7 Nov 1998 17:14:35 +0000 (17:14 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 7 Nov 1998 17:14:35 +0000 (17:14 +0000)
servers/slapd/back-ldbm/idl.c

index a19786603ade88ba730da12ed5aec85d71c97a01..7244c6ae39519d9c8a4829d260c598cf7213be33 100644 (file)
@@ -195,7 +195,7 @@ idl_store(
 #endif
 
        flags = LDBM_REPLACE;
-       if( li->li_dbcachewsync ) flags = LDBM_SYNC;
+       if( li->li_dbcachewsync ) flags |= LDBM_SYNC;
        rc = ldbm_cache_store( db, key, data, flags );
 
        /* Debug( LDAP_DEBUG_TRACE, "<= idl_store %d\n", rc, 0, 0 ); */