httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1725288 - /httpd/httpd/trunk/modules/http2/h2_push.c
Date Mon, 18 Jan 2016 15:24:10 GMT
Author: icing
Date: Mon Jan 18 15:24:10 2016
New Revision: 1725288

URL: http://svn.apache.org/viewvc?rev=1725288&view=rev
Log:
better formatting of apr_utin64_t log output

Modified:
    httpd/httpd/trunk/modules/http2/h2_push.c

Modified: httpd/httpd/trunk/modules/http2/h2_push.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_push.c?rev=1725288&r1=1725287&r2=1725288&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_push.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_push.c Mon Jan 18 15:24:10 2016
@@ -625,7 +625,7 @@ static void h2_push_diary_append(h2_push
         *ne = *e;
     }
     ap_log_perror(APLOG_MARK, GCSLOG_LEVEL, 0, diary->entries->pool,
-                  "push_diary_append: %lx", ne->hash);
+                  "push_diary_append: %"APR_UINT64_T_HEX_FMT, ne->hash);
 }
 
 apr_array_header_t *h2_push_diary_update(h2_session *session, apr_array_header_t *pushes)
@@ -788,8 +788,9 @@ static apr_status_t gset_encode_next(gse
     encoder->last = pval;
     flex_bits = (delta >> encoder->fixed_bits);
     ap_log_perror(APLOG_MARK, GCSLOG_LEVEL, 0, encoder->pool,
-                  "h2_push_diary_enc: val=%lx, delta=%lx flex_bits=%ld, "
-                  "fixed_bits=%d, fixed_val=%lx", 
+                  "h2_push_diary_enc: val=%"APR_UINT64_T_HEX_FMT", delta=%"
+                  APR_UINT64_T_HEX_FMT" flex_bits=%ld, "
+                  "fixed_bits=%d, fixed_val=%"APR_UINT64_T_HEX_FMT, 
                   pval, delta, flex_bits, encoder->fixed_bits, delta&encoder->fixed_mask);
     for (; flex_bits != 0; --flex_bits) {
         status = gset_encode_bit(encoder, 1);
@@ -951,7 +952,8 @@ static apr_status_t gset_decode_next(gse
     decoder->last_val = *phash;
     
     ap_log_perror(APLOG_MARK, GCSLOG_LEVEL, 0, decoder->pool,
-                  "h2_push_diary_digest_dec: val=%lx, delta=%lx, flex=%d, fixed=%lx", 
+                  "h2_push_diary_digest_dec: val=%"APR_UINT64_T_HEX_FMT", delta=%"
+                  APR_UINT64_T_HEX_FMT", flex=%d, fixed=%"APR_UINT64_T_HEX_FMT, 
                   *phash, delta, (int)flex, fixed);
                   
     return APR_SUCCESS;



Mime
View raw message