You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/04/29 18:19:13 UTC

[trafficserver] branch 5.3.x updated: TS-4392: Fix invalid condition in blacklist plugin example.

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

sorber pushed a commit to branch 5.3.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/5.3.x by this push:
       new  74617a3   TS-4392: Fix invalid condition in blacklist plugin example.
74617a3 is described below

commit 74617a3935f65aaa99f9146818c83a283ab2ddc6
Author: James Peach <jp...@apache.org>
AuthorDate: Thu Mar 24 09:19:41 2016 -0700

    TS-4392: Fix invalid condition in blacklist plugin example.
    
    (cherry picked from commit ec7bd826816820d4a24ec103018f8d236d37a623)
---
 example/blacklist-0/blacklist-0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/blacklist-0/blacklist-0.c b/example/blacklist-0/blacklist-0.c
index c48e735..5926aa9 100644
--- a/example/blacklist-0/blacklist-0.c
+++ b/example/blacklist-0/blacklist-0.c
@@ -107,7 +107,7 @@ handle_response(TSHttpTxn txnp)
     goto done;
   }
 
-  if (!TSHttpHdrUrlGet(bufp, hdr_loc, &url_loc) != TS_SUCCESS) {
+  if (TSHttpHdrUrlGet(bufp, hdr_loc, &url_loc) != TS_SUCCESS) {
     TSError("couldn't retrieve request url\n");
     TSHandleMLocRelease(bufp, TS_NULL_MLOC, hdr_loc);
     goto done;

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