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

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

commit dd61baaae84e6b32b782c256aad57188b51f804e
Author: James Peach <[email protected]>
AuthorDate: Thu Mar 24 09:19:41 2016 -0700

    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 51850c5..003f5c0 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("[blacklist-0] Couldn't retrieve request url");
     TSHandleMLocRelease(bufp, TS_NULL_MLOC, hdr_loc);
     goto done;

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to