This is an automated email from the ASF dual-hosted git repository.
shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b41e481 The return of TSHttpTxnIsInternal changed.
b41e481 is described below
commit b41e48116c0e48c30227ebb32150a1eaf7dbedca
Author: Susan Hinrichs <[email protected]>
AuthorDate: Thu May 25 20:21:26 2017 +0000
The return of TSHttpTxnIsInternal changed.
When the name changed in the move to 7.0. The original version has a return
value of TS_SUCCESS(0) if the transaction is intenral. The new version as a
return value of True(1) if the transaction is internal. This plugin changed
the name but not the return value test.
---
plugins/experimental/inliner/ats-inliner.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/experimental/inliner/ats-inliner.cc
b/plugins/experimental/inliner/ats-inliner.cc
index 48eaac3..1cb2dbe 100644
--- a/plugins/experimental/inliner/ats-inliner.cc
+++ b/plugins/experimental/inliner/ats-inliner.cc
@@ -157,7 +157,7 @@ transformable(TSHttpTxn txnp)
CHECK(TSHandleMLocRelease(buffer, TS_NULL_MLOC, location));
- returnValue &= TSHttpTxnIsInternal(txnp) != TS_SUCCESS;
+ returnValue &= !TSHttpTxnIsInternal(txnp);
return returnValue;
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].