You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/05/20 23:11:07 UTC

[trafficserver] 11/28: TS-3922: Fix format warning

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

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit ffeb2103ecbff36cd02b6f2aadee99e9e128a5b2
Author: Brian Geffon <br...@apache.org>
AuthorDate: Wed Apr 20 22:46:51 2016 -0700

    TS-3922: Fix format warning
    
    (cherry picked from commit 25e650b95c0e2644b7fb1a161a1f43e5827d858f)
---
 proxy/http/HttpSM.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 094aafa..201e01e 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -1632,14 +1632,14 @@ HttpSM::handle_api_return()
         HTTP_INCREMENT_DYN_STAT(http_websocket_current_active_client_connections_stat);
 
         if (ua_session) {
-          DebugSM("http_websocket", "(client session) Setting websocket active timeout=%ld s and inactive timeout=%ld s",
+          DebugSM("http_websocket", "(client session) Setting websocket active timeout=%" PRId64 "s and inactive timeout=%" PRId64 "s",
                   t_state.txn_conf->websocket_active_timeout, t_state.txn_conf->websocket_inactive_timeout);
           ua_session->get_netvc()->set_active_timeout(HRTIME_SECONDS(t_state.txn_conf->websocket_active_timeout));
           ua_session->get_netvc()->set_inactivity_timeout(HRTIME_SECONDS(t_state.txn_conf->websocket_inactive_timeout));
         }
 
         if (server_session) {
-          DebugSM("http_websocket", "(server session) Setting websocket active timeout=%ld s and inactive timeout=%ld s",
+          DebugSM("http_websocket", "(server session) Setting websocket active timeout=%" PRId64 "s and inactive timeout=%" PRId64 "s",
                   t_state.txn_conf->websocket_active_timeout, t_state.txn_conf->websocket_inactive_timeout);
           server_session->get_netvc()->set_active_timeout(HRTIME_SECONDS(t_state.txn_conf->websocket_active_timeout));
           server_session->get_netvc()->set_inactivity_timeout(HRTIME_SECONDS(t_state.txn_conf->websocket_inactive_timeout));

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