Repository: trafficserver Updated Branches: refs/heads/master 6125d24f0 -> 4707d3f1b
TS-3897: Getting 404s with regex_map Change int to bool Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4707d3f1 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4707d3f1 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4707d3f1 Branch: refs/heads/master Commit: 4707d3f1bfef318502e17c456ac0cea15552169d Parents: 6125d24 Author: Bryan Call <[email protected]> Authored: Thu Sep 10 09:20:16 2015 -0700 Committer: Bryan Call <[email protected]> Committed: Thu Sep 10 09:20:16 2015 -0700 ---------------------------------------------------------------------- proxy/http/remap/UrlRewrite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4707d3f1/proxy/http/remap/UrlRewrite.cc ---------------------------------------------------------------------- diff --git a/proxy/http/remap/UrlRewrite.cc b/proxy/http/remap/UrlRewrite.cc index 0e3af26..a152b14 100644 --- a/proxy/http/remap/UrlRewrite.cc +++ b/proxy/http/remap/UrlRewrite.cc @@ -894,7 +894,7 @@ UrlRewrite::_regexMappingLookup(RegexMappingList ®ex_mappings, URL *request_u } int matches_info[MAX_REGEX_SUBS * 3]; - int match_result = list_iter->regular_expression.exec(request_host, request_host_len, matches_info, countof(matches_info)); + bool match_result = list_iter->regular_expression.exec(request_host, request_host_len, matches_info, countof(matches_info)); if (match_result == true) { Debug("url_rewrite_regex", "Request URL host [%.*s] matched regex in mapping of rank %d "
