1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[curl] Removed weird check

I don't remember purpose of this check. Seems unneeded.
This commit is contained in:
Witold Filipczyk 2023-07-22 14:17:20 +02:00
parent c45209729f
commit 555bb84c58

View File

@ -324,10 +324,6 @@ http_curl_got_header(void *stream, void *buf, size_t len)
}
if (len > 0) {
if (!strncmp(buffer, "HTTP/", 5)) {
done_string(&http->headers);
init_string(&http->headers);
}
add_bytes_to_string(&http->headers, buffer, len);
return;
}