trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] 02/02: [TS-5024] Ran clang-format. Modify TSHttpTxnHookAdd to add hook only once.
Date Wed, 18 Jan 2017 22:33:53 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 78bd265e1b02c4b51bc6edafa11df3006ab92c94
Author: Meera Mosale Nataraja <mechins@gmail.com>
AuthorDate: Wed Jan 18 14:01:21 2017 -0800

    [TS-5024] Ran clang-format.
    Modify TSHttpTxnHookAdd to add hook only once.
    
    Change-Id: I737ca666cc05f2e2e2006cbef7f6b5a68b0eb71f
---
 proxy/InkAPI.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 79cf0c0..f7d2b61 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -4612,7 +4612,7 @@ TSHttpTxnHookAdd(TSHttpTxn txnp, TSHttpHookID id, TSCont contp)
   sdk_assert(sdk_sanity_check_continuation(contp) == TS_SUCCESS);
   sdk_assert(sdk_sanity_check_hook_id(id) == TS_SUCCESS);
 
-  HttpSM *sm = (HttpSM *)txnp;
+  HttpSM *sm    = (HttpSM *)txnp;
   APIHook *hook = sm->txn_hook_get(id);
 
   // Traverse list of hooks and add a particular hook only once

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

Mime
View raw message