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/metadata mod_setenvif.c
Date Fri, 10 May 2002 10:56:43 GMT
trawick     02/05/10 03:56:43

  Modified:    modules/metadata mod_setenvif.c
  Log:
  fix a build failure with some non-gcc compilers...
  
  an example message: "The ":" operator is not allowed between
  "const char*" and "int"."
  
  Revision  Changes    Path
  1.35      +1 -1      httpd-2.0/modules/metadata/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_setenvif.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- mod_setenvif.c	10 May 2002 07:51:16 -0000	1.34
  +++ mod_setenvif.c	10 May 2002 10:56:43 -0000	1.35
  @@ -564,7 +564,7 @@
               val_len = 0;
           }
   
  -        if (b->pattern ? apr_strmatch(b->pattern, val, val_len) :
  +        if ((b->pattern && apr_strmatch(b->pattern, val, val_len)) ||
               !ap_regexec(b->preg, val, 0, NULL, 0)) {
   	    const apr_array_header_t *arr = apr_table_elts(b->features);
               elts = (const apr_table_entry_t *) arr->elts;
  
  
  

Mime
View raw message