openldap/openldap-syncrepl-delete-retry.patch
2013-03-18 12:20:21 +01:00

25 lines
654 B
Diff

Resolves: #920482
commit 575ad77adba06acfbcb2d44a06240794d00a8b9c
Author: Howard Chu <hyc@openldap.org>
Date: Thu Mar 14 06:39:46 2013 -0700
ITS#7531 check updateCookie status for INTERMEDIATEs
Was already being checked for other message types.
diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c
index d00ba0c..1fba0b7 100644
--- a/servers/slapd/syncrepl.c
+++ b/servers/slapd/syncrepl.c
@@ -1344,6 +1344,9 @@ do_syncrep2(
ldap_memfree( retoid );
ber_bvfree( retdata );
+ if ( rc )
+ goto done;
+
} else {
Debug( LDAP_DEBUG_ANY, "do_syncrep2: %s "
"unknown intermediate response (%d)\n",