diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-12-04 00:14:39 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-12-04 00:14:39 +0000 |
commit | 9947a3e7cecfcfb85852963e3689e3023e66b7c9 (patch) | |
tree | 912768c34d8850518fdee7da492ab3bbc6bbf6e4 /ext/standard/url.c | |
parent | ca6502866b040fcf51cdab6c16c7b97852b48caf (diff) | |
download | php-git-9947a3e7cecfcfb85852963e3689e3023e66b7c9.tar.gz |
Fixed typo (thanks Frank)
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r-- | ext/standard/url.c | 4 |
1 files 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++; } |