From: Howard Chu Date: Mon, 3 Nov 2003 06:57:13 +0000 (+0000) Subject: Fix refresh mode rescheduling X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~467 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8acb1a0466235f61dc135fb41545bfd1e1a7f6e5;p=openldap Fix refresh mode rescheduling --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index fcfb191717..486be51aae 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -701,6 +701,8 @@ do_syncrepl( ch_free( si->si_syncCookie.bv_val ); si->si_syncCookie.bv_val = NULL; si->si_syncCookie.bv_len = 0; + /* Session closed due to receipt of search result */ + if ( rc == -2 ) rc = 0; } }