From b7351c66bca65238fb5b79f50058f9d556b257cd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 14 May 2003 13:54:15 +0000 Subject: [PATCH] ITS#2511 use %p to log pointer values --- servers/slapd/back-ldap/bind.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 73a86b3270..ac106fbd09 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -351,10 +351,10 @@ ldap_back_getconn(Operation *op, SlapReply *rs) #ifdef NEW_LOGGING LDAP_LOG( BACK_LDAP, INFO, - "ldap_back_getconn: conn %lx inserted\n", lc, 0, 0); + "ldap_back_getconn: conn %p inserted\n", lc, 0, 0); #else /* !NEW_LOGGING */ Debug( LDAP_DEBUG_TRACE, - "=>ldap_back_getconn: conn %lx inserted\n", lc, 0, 0 ); + "=>ldap_back_getconn: conn %p inserted\n", lc, 0, 0 ); #endif /* !NEW_LOGGING */ /* Err could be -1 in case a duplicate ldapconn is inserted */ @@ -369,11 +369,11 @@ ldap_back_getconn(Operation *op, SlapReply *rs) } else { #ifdef NEW_LOGGING LDAP_LOG( BACK_LDAP, INFO, - "ldap_back_getconn: conn %lx fetched\n", + "ldap_back_getconn: conn %p fetched\n", lc, 0, 0 ); #else /* !NEW_LOGGING */ Debug( LDAP_DEBUG_TRACE, - "=>ldap_back_getconn: conn %lx fetched\n", lc, 0, 0 ); + "=>ldap_back_getconn: conn %p fetched\n", lc, 0, 0 ); #endif /* !NEW_LOGGING */ } -- 2.39.5