]> git.sur5r.net Git - openldap/commitdiff
ITS#7531 check updateCookie status for INTERMEDIATEs
authorHoward Chu <hyc@openldap.org>
Thu, 14 Mar 2013 13:39:46 +0000 (06:39 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 14 Mar 2013 13:39:46 +0000 (06:39 -0700)
Was already being checked for other message types.

servers/slapd/syncrepl.c

index d00ba0cdb370e5e8191380fc7fca0859ffc495a2..1fba0b7d301624857fcf10f983ed4f141d981df7 100644 (file)
@@ -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",