Repository: trafficserver Updated Branches: refs/heads/master ce7c80986 -> 0dde77e35
Fix invalid condition in blacklist plugin example. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ec7bd826 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ec7bd826 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ec7bd826 Branch: refs/heads/master Commit: ec7bd826816820d4a24ec103018f8d236d37a623 Parents: ce7c809 Author: James Peach <[email protected]> Authored: Thu Mar 24 09:19:41 2016 -0700 Committer: James Peach <[email protected]> Committed: Thu Mar 24 09:19:41 2016 -0700 ---------------------------------------------------------------------- example/blacklist-0/blacklist-0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ec7bd826/example/blacklist-0/blacklist-0.c ---------------------------------------------------------------------- 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;
