You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by dr...@apache.org on 2018/05/10 12:55:21 UTC
[trafficserver] branch master updated: coverity 1022110 fix null
check
This is an automated email from the ASF dual-hosted git repository.
dragon 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 5ea5713 coverity 1022110 fix null check
5ea5713 is described below
commit 5ea57134282cd5445f334870200a7f3db00ab568
Author: Jason Kenny <dr...@live.com>
AuthorDate: Thu May 10 12:41:33 2018 +0100
coverity 1022110 fix null check
---
proxy/InkAPITest.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index b38df07..2b8c2f1 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -6747,12 +6747,11 @@ transform_add(TSHttpTxn txnp, TransformTestData *test_data)
data->test_data = test_data;
connp = TSTransformCreate(transformtest_transform, txnp);
- TSContDataSet(connp, data);
if (connp == nullptr) {
SDK_RPRINT(data->test_data->test, "TSHttpTxnTransform", "", TC_FAIL, "Unable to create Transformation.");
return;
}
-
+ TSContDataSet(connp, data);
TSHttpTxnHookAdd(txnp, TS_HTTP_RESPONSE_TRANSFORM_HOOK, connp);
return;
}
--
To stop receiving notification emails like this one, please contact
dragon@apache.org.