From: Jeff Trawick Date: Thu, 20 Feb 2003 14:12:07 +0000 (+0000) Subject: quiet a gcc warning by adding () around && within || X-Git-Tag: pre_ajp_proxy~2100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbc226f30ac570a6d7eb01436f1dbeec6871260c;p=apache quiet a gcc warning by adding () around && within || git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98741 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index c7f4c7a9bb..65388807b2 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -177,8 +177,8 @@ static const char *add_alias_internal(cmd_parms *cmd, void *dummy, for (i = 0; i < conf->aliases->nelts - 1; ++i) { alias_entry *p = &entries[i]; - if ( !p->regexp && alias_matches(f, p->fake) > 0 - || p->regexp && !ap_regexec(p->regexp, f, 0, NULL, 0)) { + if ( (!p->regexp && alias_matches(f, p->fake) > 0) + || (p->regexp && !ap_regexec(p->regexp, f, 0, NULL, 0))) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, "The %s directive at line %d will probably never " "match because it overlaps an earlier %sAlias%s.",