Commit 6ea9743d authored by Jeff Trawick's avatar Jeff Trawick
Browse files

use APR_SIZE_T_FMT for formatting apr_size_t


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96098 13f79535-47bb-0310-9956-ffa450edef68
parent 85abaa79
Loading
Loading
Loading
Loading
+2 −1
Changes for ssl_scache_shmcb.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -387,7 +387,8 @@ void ssl_scache_shmcb_init(server_rec *s, apr_pool_t *p)
    shm_segsize = apr_shm_size_get(mc->pSessionCacheDataMM);

    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                 "shmcb_init allocated %u bytes of shared memory",
                 "shmcb_init allocated %" APR_SIZE_T_FMT 
                 " bytes of shared memory",
                 shm_segsize);
    if (!shmcb_init_memory(s, shm_segment, shm_segsize)) {
        ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
+2 −1
Changes for ssl_scache_shmht.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -173,7 +173,8 @@ void ssl_scache_shmht_init(server_rec *s, apr_pool_t *p)
     */
    ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, 
                 "Init: Created hash-table (%d buckets) "
                 "in shared memory (%d bytes) for SSL session cache",
                 "in shared memory (%" APR_SIZE_T_FMT 
                 " bytes) for SSL session cache",
                 n, avail);
    return;
}