summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2002-10-17 15:25:08 +0200
committerJim Jagielski <jim@apache.org>2002-10-17 15:25:08 +0200
commitea1784b444eaddbaa1aed5cccbd0333be6b36e02 (patch)
tree345eb10e81d31f861e6a85c8a40dfe810cb68381
parentAdding the current version string to the link of each NLM (diff)
downloadapache2-ea1784b444eaddbaa1aed5cccbd0333be6b36e02.tar.xz
apache2-ea1784b444eaddbaa1aed5cccbd0333be6b36e02.zip
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
-rw-r--r--modules/ssl/ssl_engine_io.c4
-rw-r--r--modules/ssl/ssl_scache_shmht.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c
index cdb6c965c6..4579622019 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 bc572e6bd4..c7bd204536 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);
/*