From: Jim Jagielski Date: Thu, 17 Oct 2002 13:25:08 +0000 (+0000) Subject: Ugg. We need to use '%pp' not '%p' since ap_log_error uses apr_vsnprint(), X-Git-Tag: 2.0.44~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1784b444eaddbaa1aed5cccbd0333be6b36e02;p=thirdparty%2Fapache%2Fhttpd.git Ugg. We need to use '%pp' not '%p' since ap_log_error uses apr_vsnprint(), which has the overloaded '%p' format (not ANSI). PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97252 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index cdb6c965c6b..45796220194 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -1025,7 +1025,7 @@ long ssl_io_data_cb(BIO *bio, int cmd, || cmd == (BIO_CB_READ |BIO_CB_RETURN) ) { if (rc >= 0) { ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, - "%s: %s %ld/%d bytes %s BIO#%p [mem: %p] %s", + "%s: %s %ld/%d bytes %s BIO#%pp [mem: %pp] %s", SSL_LIBRARY_NAME, (cmd == (BIO_CB_WRITE|BIO_CB_RETURN) ? "write" : "read"), rc, argi, (cmd == (BIO_CB_WRITE|BIO_CB_RETURN) ? "to" : "from"), @@ -1036,7 +1036,7 @@ long ssl_io_data_cb(BIO *bio, int cmd, } else { ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, - "%s: I/O error, %d bytes expected to %s on BIO#%p [mem: %p]", + "%s: I/O error, %d bytes expected to %s on BIO#%pp [mem: %pp]", SSL_LIBRARY_NAME, argi, (cmd == (BIO_CB_WRITE|BIO_CB_RETURN) ? "write" : "read"), bio, argp); diff --git a/modules/ssl/ssl_scache_shmht.c b/modules/ssl/ssl_scache_shmht.c index bc572e6bd46..c7bd204536c 100644 --- a/modules/ssl/ssl_scache_shmht.c +++ b/modules/ssl/ssl_scache_shmht.c @@ -138,7 +138,7 @@ void ssl_scache_shmht_init(server_rec *s, apr_pool_t *p) ssl_die(); } ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, - "initialize MM %p RMM %p", + "initialize MM %pp RMM %pp", mc->pSessionCacheDataMM, mc->pSessionCacheDataRMM); /*