httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Thu, 15 Feb 2001 04:19:45 GMT
wrowe       01/02/14 20:19:45

  Modified:    src/main http_main.c
  Log:
    Martin's http_core.c patch was too cool, I want some of that :-)
  
  Revision  Changes    Path
  1.529     +2 -1      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.528
  retrieving revision 1.529
  diff -u -r1.528 -r1.529
  --- http_main.c	2001/02/14 09:54:49	1.528
  +++ http_main.c	2001/02/15 04:19:45	1.529
  @@ -6846,7 +6846,8 @@
               ap_cpystrn(ap_server_root, optarg, sizeof(ap_server_root));
               ap_getparents(ap_server_root);
               ap_no2slash(ap_server_root);
  -            if (ap_server_root[strlen(ap_server_root)-1] == '/')
  +            while (strlen(ap_server_root) 
  +                    && ap_server_root[strlen(ap_server_root)-1] == '/')
                   ap_server_root[strlen(ap_server_root)-1] = '\0';
   	    break;
   	case 'f':
  
  
  

Mime
View raw message