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:
parent
c45209729f
commit
555bb84c58
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user