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/filters mod_include.c
Date Mon, 29 Jan 2001 17:58:06 GMT
trawick     01/01/29 09:58:05

  Modified:    modules/filters mod_include.c
  Log:
  fix gcc warning
  
  mod_include.c: In function `find_file':
  mod_include.c:1281: warning: suggest parentheses around assignment used as truth value
  
  Revision  Changes    Path
  1.91      +2 -2      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- mod_include.c	2001/01/28 23:57:25	1.90
  +++ mod_include.c	2001/01/29 17:58:01	1.91
  @@ -1276,8 +1276,8 @@
   
               if (rr->status == HTTP_OK && rr->finfo.protection != 0) {
                   to_send = rr->filename;
  -                if (rv = apr_stat(finfo, to_send, APR_FINFO_GPROT 
  -                                | APR_FINFO_MIN, rr->pool) != APR_SUCCESS
  +                if ((rv = apr_stat(finfo, to_send, APR_FINFO_GPROT 
  +                                | APR_FINFO_MIN, rr->pool)) != APR_SUCCESS
                                                        && rv != APR_INCOMPLETE) {
                       error_fmt = "unable to get information about \"%s\" "
                           "in parsed file %s";
  
  
  

Mime
View raw message