mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #2310 from leiradel/master
initialize the network in net_http_new_socket
This commit is contained in:
commit
ebd60c69e2
@ -74,6 +74,9 @@ static int net_http_new_socket(const char *domain, int port)
|
||||
#endif
|
||||
struct addrinfo hints, *addr = NULL;
|
||||
char portstr[16] = {0};
|
||||
|
||||
/* Initialize the network. */
|
||||
network_init();
|
||||
|
||||
snprintf(portstr, sizeof(portstr), "%i", port);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user