Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 22170 invoked by uid 6000); 16 Jan 2000 21:00:03 -0000 Received: (qmail 22118 invoked by uid 2016); 16 Jan 2000 21:00:02 -0000 Delivered-To: apcore-apache-1.3-cvs@apache.org Received: (qmail 22102 invoked by uid 82); 16 Jan 2000 21:00:00 -0000 Date: 16 Jan 2000 21:00:00 -0000 Message-ID: <20000116210000.22099.qmail@hyperreal.org> From: fielding@hyperreal.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/main http_vhost.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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; } }