You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/10/06 21:13:29 UTC

[trafficserver] branch master updated: Fixes build on macOS, using approprite PRIu64 for printf

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 26717d9  Fixes build on macOS, using approprite PRIu64 for printf
26717d9 is described below

commit 26717d9bc4ca46b6fd230ee247e37961779da998
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Fri Oct 6 10:40:35 2017 -0600

    Fixes build on macOS, using approprite PRIu64 for printf
---
 example/remap/remap.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/remap/remap.cc b/example/remap/remap.cc
index 7e2134c..e6600e6 100644
--- a/example/remap/remap.cc
+++ b/example/remap/remap.cc
@@ -272,7 +272,7 @@ TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
 
   // How to store plugin private arguments inside Traffic Server request processing block.
   if (TSHttpArgIndexReserve("remap_example", "Example remap plugin", &arg_index) == TS_SUCCESS) {
-    TSDebug(PLUGIN_NAME, "Save processing counter %lu inside request processing block\n", _processing_counter);
+    TSDebug(PLUGIN_NAME, "Save processing counter %" PRIu64 " inside request processing block\n", _processing_counter);
     TSHttpTxnArgSet((TSHttpTxn)rh, arg_index, (void *)_processing_counter); // save counter
   }
   // How to cancel request processing and return error message to the client

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].