]> git.sur5r.net Git - openldap/commitdiff
consistently use "tag=" instead of "op=" in debug messages
authorPierangelo Masarati <ando@openldap.org>
Sat, 25 Aug 2007 00:10:52 +0000 (00:10 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 25 Aug 2007 00:10:52 +0000 (00:10 +0000)
servers/slapd/back-bdb/referral.c
servers/slapd/back-ldif/ldif.c

index 03c60773c26adfbdd6a17548e7b0e2c3079ef9bf..29b3831e72ea8d6fc52c726fc3051dcf20960095 100644 (file)
@@ -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 ) {
index 44486975c98c0e00f8a7fcfd6adeb5260f0ce67a..4ad7603367506a8e50251f62efc7e701084e91f8 100644 (file)
@@ -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 ) {