]> git.sur5r.net Git - openldap/commitdiff
very bad typo.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 21:49:03 +0000 (21:49 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 21:49:03 +0000 (21:49 +0000)
servers/slapd/back-ldbm/id2entry.c

index 38522cb54ac392dba04f87fecc86bf6d7748eba1..cbec89b050f5810f0a904fb01d6429cb88f94dde 100644 (file)
@@ -45,7 +45,7 @@ id2entry_add( Backend *be, Entry *e )
 
        /* store it */
        flags = LDBM_REPLACE;
-       if ( li->li_flush_wrt ) flags != LDBM_SYNC;
+       if ( li->li_flush_wrt ) flags |= LDBM_SYNC;
        rc = ldbm_cache_store( db, key, data, flags );
 
        pthread_mutex_unlock( &entry2str_mutex );