mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Check rc in prev commit
This commit is contained in:
parent
522f951cb9
commit
7c183775d0
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue