Repository: trafficserver
Updated Branches:
  refs/heads/master 05ba3e71e -> 53d386c24


TS-3961: Open source Yahoo's ats-multiplexer plug-in
Fixes for FreeBSD and OSX builds


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/53d386c2
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/53d386c2
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/53d386c2

Branch: refs/heads/master
Commit: 53d386c24277307d0b33d9fa4596f92a5f263143
Parents: 05ba3e7
Author: Bryan Call <[email protected]>
Authored: Mon Oct 26 14:21:06 2015 -0700
Committer: Bryan Call <[email protected]>
Committed: Mon Oct 26 14:21:06 2015 -0700

----------------------------------------------------------------------
 plugins/experimental/multiplexer/fetcher.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53d386c2/plugins/experimental/multiplexer/fetcher.h
----------------------------------------------------------------------
diff --git a/plugins/experimental/multiplexer/fetcher.h 
b/plugins/experimental/multiplexer/fetcher.h
index dcaa93b..13598c7 100644
--- a/plugins/experimental/multiplexer/fetcher.h
+++ b/plugins/experimental/multiplexer/fetcher.h
@@ -26,6 +26,7 @@
 #include <arpa/inet.h>
 #include <iostream>
 #include <limits>
+#include <netinet/in.h>
 
 #include <inttypes.h>
 
@@ -286,7 +287,7 @@ get(const std::string &a, io::IO *const i, const int64_t l, 
const T &t, const in
   Transaction *transaction = new Transaction(vconn, contp, i, l, t);
   TSContDataSet(contp, transaction);
   if (ti > 0) {
-    TSDebug(PLUGIN_TAG, "ats::get Setting active timeout to: %zu", ti);
+    TSDebug(PLUGIN_TAG, "ats::get Setting active timeout to: %" PRId64, ti);
     transaction->timeout(ti);
   }
   return true;

Reply via email to