From: Jeff Trawick Date: Thu, 20 Feb 2003 14:12:07 +0000 (+0000) Subject: quiet a gcc warning by adding () around && within || X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5041fbdc7631a55a0a997bef39ea83eb82fb7154;p=thirdparty%2Fapache%2Fhttpd.git 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 c7f4c7a9bbb..65388807b21 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.",