From 9947a3e7cecfcfb85852963e3689e3023e66b7c9 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 4 Dec 2003 00:14:39 +0000 Subject: [PATCH] Fixed typo (thanks Frank) --- ext/standard/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; } -- 2.40.0