From: Fabian Keil Date: Fri, 28 Aug 2020 07:53:42 +0000 (+0200) Subject: Fix style in host_matches() X-Git-Tag: v_3_0_29~172 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=283e98e3f6ca776c1a15cd076e6ae1e999d8a6b3 Fix style in host_matches() Sponsored by: Robert Klemme --- diff --git a/urlmatch.c b/urlmatch.c index 868a16b3..a028361e 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1301,7 +1301,8 @@ static int host_matches(const struct http_request *http, { assert(http->host != NULL); #ifdef FEATURE_PCRE_HOST_PATTERNS - if (pattern->pattern.url_spec.host_regex_type == PCRE_HOST_PATTERN) { + if (pattern->pattern.url_spec.host_regex_type == PCRE_HOST_PATTERN) + { return ((NULL == pattern->pattern.url_spec.host_regex) || (0 == regexec(pattern->pattern.url_spec.host_regex, http->host, 0, NULL, 0)));