From: Howard Chu Date: Thu, 25 Jan 2007 04:10:57 +0000 (+0000) Subject: Log the error code too X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35e0956c2672c8880b64377beb8e58ea6234138f;p=openldap Log the error code too --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index c6cef4a71b..48186ff4e5 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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 ); if ( rc ) { 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 ); rc = 0; continue;