]> git.sur5r.net Git - openldap/commitdiff
Fix retry on stale cookie result
authorHoward Chu <hyc@openldap.org>
Mon, 21 Nov 2005 05:38:28 +0000 (05:38 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 21 Nov 2005 05:38:28 +0000 (05:38 +0000)
servers/slapd/syncrepl.c

index a801e54a7cce3e10a69f1ef8d8773f4885d207b7..2d47e804c29188a687b2040c97934527fa8ae9fe 100644 (file)
@@ -756,7 +756,7 @@ do_syncrep2(
                                                si->si_logstate = SYNCLOG_FALLBACK;
                                        }
                                        rc = err;
-                                       break;
+                                       goto done;
                                }
                                if ( rctrls ) {
                                        rctrlp = *rctrls;