mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Cleanup
This commit is contained in:
parent
6958a23b96
commit
6750d74e46
@ -24,17 +24,15 @@
|
||||
|
||||
int net_http_get(const char **result, size_t *size, const char *url, retro_time_t *timeout)
|
||||
{
|
||||
retro_time_t t0;
|
||||
uint8_t* data;
|
||||
size_t length;
|
||||
char* res;
|
||||
int ret = NET_HTTP_GET_OK;
|
||||
struct http_connection_t* conn = NULL;
|
||||
struct http_t* http = NULL;
|
||||
retro_time_t t0 = retro_get_time_usec();
|
||||
struct http_connection_t *conn = net_http_connection_new(url);
|
||||
|
||||
*result = NULL;
|
||||
t0 = retro_get_time_usec();
|
||||
conn = net_http_connection_new(url);
|
||||
|
||||
/* Error creating the connection descriptor. */
|
||||
if (!conn)
|
||||
|
Loading…
x
Reference in New Issue
Block a user