Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 62740 invoked by uid 500); 20 Feb 2003 14:12:09 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 62689 invoked by uid 500); 20 Feb 2003 14:12:09 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 20 Feb 2003 14:12:08 -0000 Message-ID: <20030220141208.88915.qmail@icarus.apache.org> From: trawick@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/mappers mod_alias.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N trawick 2003/02/20 06:12:08 Modified: modules/mappers mod_alias.c Log: quiet a gcc warning by adding () around && within || Revision Changes Path 1.48 +2 -2 httpd-2.0/modules/mappers/mod_alias.c Index: mod_alias.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_alias.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- mod_alias.c 14 Feb 2003 18:57:10 -0000 1.47 +++ mod_alias.c 20 Feb 2003 14:12:07 -0000 1.48 @@ -177,8 +177,8 @@ 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.",