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/01/18 22:36:59 UTC

[trafficserver] branch revert-1320-TS-5024 created (now 833f176)

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

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

        at  833f176   Revert "Modify TSHttpTxnHookAdd to add hook only once"

This branch includes the following new commits:

       new  833f176   Revert "Modify TSHttpTxnHookAdd to add hook only once"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


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

[trafficserver] 01/01: Revert "Modify TSHttpTxnHookAdd to add hook only once"

Posted by zw...@apache.org.
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 <zw...@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" <co...@trafficserver.apache.org>.