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_negotiation.c
Date Fri, 24 Aug 2001 10:40:04 GMT
trawick     01/08/24 03:40:04

  Modified:    modules/mappers mod_negotiation.c
  Log:
  protect const-ness of variant->file_name by using ap_strchr_c() instead
  of strchr()
  
  Revision  Changes    Path
  1.76      +1 -1      httpd-2.0/modules/mappers/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_negotiation.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- mod_negotiation.c	2001/08/24 04:16:29	1.75
  +++ mod_negotiation.c	2001/08/24 10:40:04	1.76
  @@ -2637,7 +2637,7 @@
                * non-neighboring variant.  We can have a non-neighboring
                * variant when processing a type map.  
                */
  -            if (strchr(variant->file_name, '/'))
  +            if (ap_strchr_c(variant->file_name, '/'))
                   neg->is_transparent = 0;
           }
       }
  
  
  

Mime
View raw message