httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_vhost_alias.c
Date Sat, 06 Oct 2001 04:41:37 GMT
wrowe       01/10/05 21:41:37

  Modified:    modules/mappers mod_vhost_alias.c
  Log:
    Legibility counts for something, so does eliminating bogus ssize_t
    products from pointer subtraction ;)
  
  Revision  Changes    Path
  1.26      +1 -1      httpd-2.0/modules/mappers/mod_vhost_alias.c
  
  Index: mod_vhost_alias.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_vhost_alias.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_vhost_alias.c	2001/02/24 11:23:31	1.25
  +++ mod_vhost_alias.c	2001/10/06 04:41:37	1.26
  @@ -433,7 +433,7 @@
       cgi = NULL;
       if (conf->cgi_root) {
   	cgi = strstr(r->uri, "cgi-bin/");
  -	if (cgi && cgi - r->uri != strspn(r->uri, "/")) {
  +	if (cgi && (cgi != r->uri + strspn(r->uri, "/"))) {
   	    cgi = NULL;
   	}
       }
  
  
  

Mime
View raw message