Log the error code too

This commit is contained in:
Howard Chu 2007-01-25 04:10:57 +00:00
parent 7eeeaaf06d
commit 35e0956c26

View File

@ -843,7 +843,7 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so )
rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e ); rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e );
if ( rc ) { if ( rc ) {
Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, " Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, "
"ignoring...\n", opc.sndn.bv_val ); "error (%d), ignoring...\n", opc.sndn.bv_val, rc );
ch_free( sr ); ch_free( sr );
rc = 0; rc = 0;
continue; continue;