akosut      97/07/22 17:00:05

  Modified:    src       http_config.c
  Log:
  Oops... fix off-by-one error.
  
  Revision  Changes    Path
  1.64      +2 -2      apache/src/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_config.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- http_config.c     1997/07/22 23:51:58     1.63
  +++ http_config.c     1997/07/23 00:00:04     1.64
  @@ -473,8 +473,8 @@
        * components (Unix and DOS), and remove them.
        */
   
  -    if (strrchr(m->name, '/')) m->name = strrchr(m->name, '/');
  -    if (strrchr(m->name, '\\')) m->name = strrchr(m->name, '\\');
  +    if (strrchr(m->name, '/')) m->name = 1 + strrchr(m->name, '/');
  +    if (strrchr(m->name, '\\')) m->name = 1 + strrchr(m->name, '\\');
   
       /** XXX: this will be slow if there's lots of add_modules */
       build_method_shortcuts ();
  
  
  

Reply via email to