]> granicus.if.org Git - php/commitdiff
Fixed typo (thanks Frank)
authorIlia Alshanetsky <iliaa@php.net>
Thu, 4 Dec 2003 00:14:39 +0000 (00:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 4 Dec 2003 00:14:39 +0000 (00:14 +0000)
ext/standard/url.c

index 47dcab002e49f239d0d8a6016fe26b5008998d17..1996bb574c468158794aa72b071ae2f9e350dc9a 100644 (file)
@@ -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++;
                }