mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
Fix prev commit - cannot shortcut initial sync
This commit is contained in:
parent
250cbd286a
commit
21e4eb3dcc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue