From: Howard Chu Date: Thu, 25 Jan 2007 04:10:18 +0000 (+0000) Subject: ITS#4810 log a message if be_entry_get doesn't return the entry we want X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~149 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7eeeaaf06de6234b142eff2db76b42076dcc47a3;p=openldap ITS#4810 log a message if be_entry_get doesn't return the entry we want --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index ddb81a3336..c6cef4a71b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -842,7 +842,10 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) if ( sr->s_mode != LDAP_SYNC_DELETE ) { rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e ); if ( rc ) { + Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, " + "ignoring...\n", opc.sndn.bv_val ); ch_free( sr ); + rc = 0; continue; } }