summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-12-04 00:14:39 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-12-04 00:14:39 +0000
commit9947a3e7cecfcfb85852963e3689e3023e66b7c9 (patch)
tree912768c34d8850518fdee7da492ab3bbc6bbf6e4 /ext/standard/url.c
parentca6502866b040fcf51cdab6c16c7b97852b48caf (diff)
downloadphp-git-9947a3e7cecfcfb85852963e3689e3023e66b7c9.tar.gz
Fixed typo (thanks Frank)
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r--ext/standard/url.c4
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++;
}