]> granicus.if.org Git - php/commitdiff
MFH: Typo fix.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 4 Dec 2003 00:14:50 +0000 (00:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 4 Dec 2003 00:14:50 +0000 (00:14 +0000)
ext/standard/url.c

index 813de7349d233af8d112644ce21fdb58aa46445c..05e549c422642a96b5f7a2b4229cc1a0e8c0d4b1 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++;
                        }
                        
@@ -145,7 +145,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++;
                }