httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_alias.c
Date Thu, 20 Feb 2003 14:12:08 GMT
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.",
  
  
  

Mime
View raw message