mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Fixed typo (thanks Frank)
This commit is contained in:
parent
ca6502866b
commit
9947a3e7ce
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user