]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Fri, 31 Dec 2004 12:02:35 +0000 (12:02 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 31 Dec 2004 12:02:35 +0000 (12:02 +0000)
servers/slapd/Makefile.in
servers/slapd/overlays/syncprov.c

index d9da38491e381aea70ef051a07c714d2d6fb2d55..8f6dd9be40e8bf2e4e8b7d8607ca869ce2ca0daa 100644 (file)
@@ -313,6 +313,8 @@ libbackends.a: .backend
 liboverlays.a: FORCE
        @cd overlays; $(MAKE) $(MFLAGS) all
 
+backend.c: backend.h
+
 version.c: Makefile
        @-$(RM) $@
        $(MKVERSION) -s -n Versionstr slapd > $@
index 1b4e0654b7d9c437b1cc21ed1c07ccf200cfff7a..221828839330f2a6c7757c7a08ea81989440099d 100644 (file)
@@ -1002,7 +1002,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
 done:
        if ( op->o_tag != LDAP_REQ_ADD ) {
                op->o_bd->bd_info = (BackendInfo *)on->on_info;
-               be_entry_release_r( op, e );
+               be_entry_release_rw( op, e, 0 );
                op->o_bd->bd_info = (BackendInfo *)on;
        }
        if ( freefdn ) {
@@ -1671,7 +1671,7 @@ syncprov_search_response( Operation *op, SlapReply *rs )
 
                                        if ( e ) {
                                                op->o_bd->bd_info = (BackendInfo *)on->on_info;
-                                               be_entry_release_r( op, e );
+                                               be_entry_release_rw( op, e, 0 );
                                                op->o_bd->bd_info = (BackendInfo *)on;
                                        }
                                        ch_free( sr );
@@ -2045,7 +2045,7 @@ syncprov_db_open(
                        si->si_ctxcsnbuf[si->si_ctxcsn.bv_len] = '\0';
                        strcpy( ctxcsnbuf, si->si_ctxcsnbuf );
                }
-               be_entry_release_r( op, e );
+               be_entry_release_rw( op, e, 0 );
                op->o_bd->bd_info = (BackendInfo *)on;
                op->o_req_dn = be->be_suffix[0];
                op->o_req_ndn = be->be_nsuffix[0];