fixup two ISSPACE to ISBLANK in http.c

This commit is contained in:
Daniel Stenberg 2025-02-28 23:28:54 +01:00
parent 689450e3f2
commit 1f10242a78
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -3893,7 +3893,7 @@ static CURLcode http_rw_hd(struct Curl_easy *data,
k->httpcode = (p[0] - '0') * 100 + (p[1] - '0') * 10 +
(p[2] - '0');
p += 3;
if(ISSPACE(*p))
if(ISBLANK(*p))
fine_statusline = TRUE;
}
}
@ -3913,7 +3913,7 @@ static CURLcode http_rw_hd(struct Curl_easy *data,
k->httpcode = (p[0] - '0') * 100 + (p[1] - '0') * 10 +
(p[2] - '0');
p += 3;
if(!ISSPACE(*p))
if(!ISBLANK(*p))
break;
fine_statusline = TRUE;
}