From: Kurt Zeilenga Date: Tue, 18 Sep 2001 18:38:43 +0000 (+0000) Subject: Clean up STATS logging X-Git-Tag: OPENLDAP_REL_ENG_2_0_15~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c64b031a684b55ba957dbf7ff721eed930e413e;p=thirdparty%2Fopenldap.git Clean up STATS logging --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index c3b32e839f..2164ec08d6 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -374,9 +374,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 @@ -436,7 +436,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); @@ -553,7 +553,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);