mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-29 09:13:38 +08:00
Update http_win.c
This commit is contained in:
@@ -180,10 +180,6 @@ int http_get(const char *uri, uint8_t *buf, size_t *contentlen, size_t buflen)
|
|||||||
|
|
||||||
// process response header and retrieve left
|
// process response header and retrieve left
|
||||||
if (http_parse_response(response, len, &p, contentlen, &left) != 1) {
|
if (http_parse_response(response, len, &p, contentlen, &left) != 1) {
|
||||||
|
|
||||||
response[len] = 0;
|
|
||||||
fprintf(stderr, "Response:\n%s\n", response);
|
|
||||||
|
|
||||||
error_print();
|
error_print();
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user