]> git.sur5r.net Git - openldap/commitdiff
for ITS#3105
authorJong Hyuk Choi <jongchoi@openldap.org>
Wed, 10 Mar 2004 21:49:08 +0000 (21:49 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Wed, 10 Mar 2004 21:49:08 +0000 (21:49 +0000)
servers/slapd/syncrepl.c

index 6f923bcb684f5b64de4ee36454a41a3dd197f6fa..ea3da5f929513ec5e2990d86f6fd69234fc3e842 100644 (file)
@@ -522,6 +522,7 @@ do_syncrep2(
                                }
                                if ( rc_efree && entry ) {
                                        entry_free( entry );
+                                       entry = NULL;
                                }
                                break;
 
@@ -1263,7 +1264,7 @@ syncrepl_entry(
 
        case LDAP_SYNC_DELETE :
                /* Already deleted */
-               ret = 1;
+               ret = 0;
                goto done;
 
        default :