trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] 01/01: Revert "Modify TSHttpTxnHookAdd to add hook only once"
Date Wed, 18 Jan 2017 22:37:00 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 833f176b60ca24a6c98d6019306b3cb93e705285
Author: Leif Hedstrom <zwoop@apache.org>
AuthorDate: Wed Jan 18 15:36:52 2017 -0700

    Revert "Modify TSHttpTxnHookAdd to add hook only once"
---
 proxy/InkAPI.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index f7d2b61..79cf0c0 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