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/server core.c
Date Thu, 06 Dec 2001 02:54:47 GMT
trawick     01/12/05 18:54:47

  Modified:    server   core.c
  Log:
  don't lose the const-ness of the string being searched
  
  Revision  Changes    Path
  1.113     +2 -2      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.112
  retrieving revision 1.113
  diff -u -r1.112 -r1.113
  --- core.c	2001/12/06 01:20:16	1.112
  +++ core.c	2001/12/06 02:54:47	1.113
  @@ -2694,8 +2694,8 @@
        * have a / in the middle, which probably captures the original
        * intent, but may cause problems at first - Ben 7th Jan 01
        */
  -    if(strcmp(r->handler,"default-handler")
  -       && !strchr(r->handler, '/'))
  +    if (strcmp(r->handler, "default-handler")
  +        && !ap_strchr_c(r->handler, '/'))
   	return DECLINED;
   
       d = (core_dir_config *)ap_get_module_config(r->per_dir_config,
  
  
  

Mime
View raw message