mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
initialize the network in net_http_new_socket
This commit is contained in:
parent
fda10142b4
commit
6f137587d1
@ -75,6 +75,9 @@ static int net_http_new_socket(const char *domain, int port)
|
||||
struct addrinfo hints, *addr = NULL;
|
||||
char portstr[16] = {0};
|
||||
|
||||
/* Initialize the network. */
|
||||
network_init();
|
||||
|
||||
snprintf(portstr, sizeof(portstr), "%i", port);
|
||||
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
|
Loading…
x
Reference in New Issue
Block a user