From 8acb1a0466235f61dc135fb41545bfd1e1a7f6e5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 3 Nov 2003 06:57:13 +0000 Subject: [PATCH] Fix refresh mode rescheduling --- servers/slapd/syncrepl.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.39.5