From: Pierangelo Masarati Date: Sat, 25 Aug 2007 00:10:52 +0000 (+0000) Subject: consistently use "tag=" instead of "op=" in debug messages X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f95ff260c64337680cf7a6c653ba12a70e112c3;p=openldap consistently use "tag=" instead of "op=" in debug messages --- diff --git a/servers/slapd/back-bdb/referral.c b/servers/slapd/back-bdb/referral.c index 03c60773c2..29b3831e72 100644 --- a/servers/slapd/back-bdb/referral.c +++ b/servers/slapd/back-bdb/referral.c @@ -87,8 +87,8 @@ dn2entry_retry: if ( e != NULL ) { Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_referrals) - ": op=%ld target=\"%s\" matched=\"%s\"\n", - (long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val ); + ": tag=%lu target=\"%s\" matched=\"%s\"\n", + (unsigned long)op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val ); if( is_entry_referral( e ) ) { BerVarray ref = get_entry_referrals( op, e ); @@ -138,8 +138,8 @@ dn2entry_retry: Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_referrals) - ": op=%ld target=\"%s\" matched=\"%s\"\n", - (long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val ); + ": tag=%lu target=\"%s\" matched=\"%s\"\n", + (unsigned long)op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val ); rs->sr_matched = e->e_name.bv_val; if( rs->sr_ref != NULL ) { diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 44486975c9..4ad7603367 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -694,8 +694,8 @@ ldif_back_referrals( Operation *op, SlapReply *rs ) rs->sr_matched = NULL; if ( entry != NULL ) { Debug( LDAP_DEBUG_TRACE, - "ldif_back_referrals: op=%ld target=\"%s\" matched=\"%s\"\n", - (long) op->o_tag, op->o_req_dn.bv_val, entry->e_name.bv_val ); + "ldif_back_referrals: tag=%lu target=\"%s\" matched=\"%s\"\n", + (unsigned long) op->o_tag, op->o_req_dn.bv_val, entry->e_name.bv_val ); if ( is_entry_referral( entry ) ) { rc = LDAP_OTHER; @@ -744,8 +744,8 @@ ldif_back_referrals( Operation *op, SlapReply *rs ) refs, &entry->e_name, &op->o_req_dn, LDAP_SCOPE_DEFAULT ); Debug( LDAP_DEBUG_TRACE, - "ldif_back_referrals: op=%ld target=\"%s\" matched=\"%s\"\n", - (long) op->o_tag, op->o_req_dn.bv_val, entry->e_name.bv_val ); + "ldif_back_referrals: tag=%lu target=\"%s\" matched=\"%s\"\n", + (unsigned long) op->o_tag, op->o_req_dn.bv_val, entry->e_name.bv_val ); rs->sr_matched = entry->e_name.bv_val; if ( rs->sr_ref != NULL ) {