ITS#4810 log a message if be_entry_get doesn't return the entry we want

This commit is contained in:
Howard Chu 2007-01-25 04:10:18 +00:00
parent 1ce42136fb
commit 7eeeaaf06d

View file

@ -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;
}
}