httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_vhost.c
Date Sun, 16 Jan 2000 21:00:00 GMT
fielding    00/01/16 12:59:59

  Modified:    src/main http_vhost.c
  Log:
  Squash warnings by using ap_isalnum and ap_isdigit.
  
  Revision  Changes    Path
  1.18      +2 -2      apache-1.3/src/main/http_vhost.c
  
  Index: http_vhost.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_vhost.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- http_vhost.c	1999/12/20 18:16:50	1.17
  +++ http_vhost.c	2000/01/16 20:59:59	1.18
  @@ -670,7 +670,7 @@
       src = r->hostname;
       dst = host;
       while (*src) {
  -	if (!isalnum(*src) && *src != '.' && *src != '-') {
  +	if (!ap_isalnum(*src) && *src != '.' && *src != '-') {
   	    if (*src == ':')
   		break;
   	    else
  @@ -682,7 +682,7 @@
       /* check the port part */
       if (*src++ == ':') {
   	while (*src) {
  -	    if (!isdigit(*src++)) {
  +	    if (!ap_isdigit(*src++)) {
   		goto bad;
   	    }
   	}
  
  
  

Mime
View raw message