mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:43:31 +03:00
src: cleanup ISBLANK vs ISSPACE
- use ISBLANK() where only spaces and tabs should match - change while(x && ISBLANK(X)) => while(ISBLANK(x)) Closes #16589
This commit is contained in:
parent
9147903366
commit
1503555836
5 changed files with 20 additions and 23 deletions
|
|
@ -278,7 +278,7 @@ static CURLcode glob_range(struct URLGlob *glob, char **patternp,
|
|||
endp = NULL;
|
||||
else {
|
||||
pattern = endp + 1;
|
||||
while(*pattern && ISBLANK(*pattern))
|
||||
while(ISBLANK(*pattern))
|
||||
pattern++;
|
||||
if(!ISDIGIT(*pattern)) {
|
||||
endp = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue