fixup change two more ISSPACE to ISBLANK
This commit is contained in:
parent
1f10242a78
commit
7e1bea28d2
@ -215,7 +215,7 @@ static CURLcode namevalue(char *header, size_t hlen, unsigned int type,
|
||||
*value = header;
|
||||
|
||||
/* skip all trailing space letters */
|
||||
while((end > header) && ISSPACE(*end))
|
||||
while((end > header) && ISBLANK(*end))
|
||||
*end-- = 0; /* nul terminate */
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
@ -233,7 +233,7 @@ static CURLcode make_headers(struct Curl_easy *data,
|
||||
sep = strchr(l->data, ';');
|
||||
if(!sep || (*sep == ':' && !*(sep + 1)))
|
||||
continue;
|
||||
for(ptr = sep + 1; ISSPACE(*ptr); ++ptr)
|
||||
for(ptr = sep + 1; ISBLANK(*ptr); ++ptr)
|
||||
;
|
||||
if(!*ptr && ptr != sep + 1) /* a value of whitespace only */
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user