From: Howard Chu Date: Sat, 24 Apr 2021 14:47:03 +0000 (+0100) Subject: ITS#9534 fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_6_0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cda679e3b02ae2b0075114a373c39a23b2bf68e;p=thirdparty%2Fopenldap.git ITS#9534 fix prev commit --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index d6b1ab21d5..88fe16fdff 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1901,7 +1901,7 @@ done: if ( rc ) { if ( rc == LDAP_SYNC_REFRESH_REQUIRED && si->si_logstate == SYNCLOG_LOGGING && si->si_ld ) - return rc + return rc; /* never reuse existing connection */ if ( si->si_conn ) { connection_client_stop( si->si_conn );