Fixed typo (thanks Frank)

This commit is contained in:
Ilia Alshanetsky 2003-12-04 00:14:39 +00:00
parent ca6502866b
commit 9947a3e7ce

View 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++;
}