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 );