From 7c183775d0a96448aef12ce4e0cbb492615e919c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 5 Mar 2009 17:53:01 +0000 Subject: [PATCH] Check rc in prev commit --- servers/slapd/overlays/syncprov.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index a890f5be6f..68ce37d93c 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -908,11 +908,11 @@ syncprov_qplay( Operation *op, syncops *so ) } while (0); /* We now only send one change at a time, to prevent one - * psearch from hogging all the CPU. Resubmit this - * task if there are more responses queued. + * psearch from hogging all the CPU. Resubmit this task if + * there are more responses queued and no errors occurred. */ - if ( so->s_res ) { + if ( rc == 0 && so->s_res ) { syncprov_qstart( so ); } else { so->s_flags ^= PS_TASK_QUEUED; -- 2.39.5