netrc: do the loop on confirmed good instead of negative bad
This commit is contained in:
parent
e2a694034c
commit
857042071d
@ -161,7 +161,7 @@ static NETRCcode parsenetrc(struct store_netrc *store,
|
||||
if(!quoted) {
|
||||
size_t len = 0;
|
||||
CURLcode result;
|
||||
while(!ISSPACE(*tok_end)) {
|
||||
while(*tok_end > ' ') {
|
||||
tok_end++;
|
||||
len++;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user