From: Ilia Alshanetsky Date: Thu, 4 Dec 2003 00:14:39 +0000 (+0000) Subject: Fixed typo (thanks Frank) X-Git-Tag: php-5.0.0b3RC1~359 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9947a3e7cecfcfb85852963e3689e3023e66b7c9;p=php Fixed typo (thanks Frank) --- diff --git a/ext/standard/url.c b/ext/standard/url.c index 47dcab002e..1996bb574c 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -104,7 +104,7 @@ PHPAPI php_url *php_url_parse(char *str) * correctly parse things like a.com:80 */ p = e + 1; - while (isdigit(p)) { + while (isdigit(*p)) { p++; } @@ -151,7 +151,7 @@ PHPAPI php_url *php_url_parse(char *str) p = e + 1; pp = p; - while (pp-p < 6 && isdigit(pp)) { + while (pp-p < 6 && isdigit(*pp)) { pp++; }