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/http mod_mime.c
Date Thu, 05 Sep 2002 11:04:25 GMT
trawick     2002/09/05 04:04:25

  Modified:    modules/http mod_mime.c
  Log:
  don't lose const when calling strrchr()
  
  Revision  Changes    Path
  1.88      +1 -1      httpd-2.0/modules/http/mod_mime.c
  
  Index: mod_mime.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/mod_mime.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- mod_mime.c	5 Sep 2002 07:31:14 -0000	1.87
  +++ mod_mime.c	5 Sep 2002 11:04:25 -0000	1.88
  @@ -804,7 +804,7 @@
   
       /* Always drop the path leading up to the file name.
        */
  -    if ((fn = strrchr(resource_name, '/')) == NULL) {
  +    if ((fn = ap_strrchr_c(resource_name, '/')) == NULL) {
           fn = resource_name;
       }
       else {
  
  
  

Mime
View raw message