]> git.sur5r.net Git - openldap/commitdiff
more for #6397
authorHoward Chu <hyc@openldap.org>
Mon, 23 Nov 2009 22:17:25 +0000 (22:17 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 23 Nov 2009 22:17:25 +0000 (22:17 +0000)
servers/slapd/overlays/syncprov.c

index a974a83b823cbfe53cc37e287e864128ea9e86ae..8fb306241b947c031300e86b26560e1b51be709a 100644 (file)
@@ -2561,8 +2561,7 @@ no_change:                if ( !(op->o_sync_mode & SLAP_SYNC_PERSIST) ) {
                                        ber_bvarray_free_x( ctxcsn, op->o_tmpmemctx );
                                if ( sids )
                                        op->o_tmpfree( sids, op->o_tmpmemctx );
-                               send_ldap_result( op, rs );
-                               return rs->sr_err;
+                               goto bailout;
                        }
                }
        } else {