From 21e4eb3dcc5b98219b0984bf867e78eb59dc884f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 5 Feb 2007 23:54:07 +0000 Subject: [PATCH] Fix prev commit - cannot shortcut initial sync --- servers/slapd/overlays/syncprov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 8a824513c1..243fe6394a 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1928,7 +1928,7 @@ syncprov_search_response( Operation *op, SlapReply *rs ) sid = slap_parse_csn_sid( &a->a_nvals[0] ); /* Don't send changed entries back to the originator */ - if ( sid == srs->sr_state.sid ) { + if ( sid == srs->sr_state.sid && srs->sr_state.numcsns ) { Debug( LDAP_DEBUG_SYNC, "Entry %s changed by peer, ignored\n", rs->sr_entry->e_name.bv_val, 0, 0 ); -- 2.39.5