From: Pierangelo Masarati Date: Thu, 13 Sep 2001 21:30:44 +0000 (+0000) Subject: cleanup and cast of logs X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a78d022bce87692408265072b6fad9d5da54ba9;p=openldap cleanup and cast of logs --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index e8aecf2a4d..0736484e85 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -428,9 +428,9 @@ send_ldap_disconnect( reqoid, NULL, NULL, NULL ); Statslog( LDAP_DEBUG_STATS, - "conn=%ld op=%ld DISCONNECT err=%ld tag=%lu text=%s\n", + "conn=%ld op=%ld DISCONNECT tag=%lu err=%ld text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ? text : "" ); + (unsigned long) tag, (long) err, text ? text : "" ); } void @@ -515,7 +515,7 @@ send_ldap_result( Statslog( LDAP_DEBUG_STATS, "conn=%ld op=%ld RESULT tag=%lu err=%ld text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ? text : "" ); + (unsigned long) tag, (long) err, text ? text : "" ); if( tmp != NULL ) { ch_free(tmp); @@ -657,7 +657,7 @@ send_search_result( Statslog( LDAP_DEBUG_STATS, "conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ? text : "" ); + (unsigned long) tag, (long) err, text ? text : "" ); if (tmp != NULL) { ch_free(tmp);