mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-02 08:08:50 +00:00
better network initialization in net_http_new_socket
This commit is contained in:
parent
6f137587d1
commit
0750fe50bb
@ -76,7 +76,8 @@ static int net_http_new_socket(const char *domain, int port)
|
||||
char portstr[16] = {0};
|
||||
|
||||
/* Initialize the network. */
|
||||
network_init();
|
||||
if (!network_init())
|
||||
return -1;
|
||||
|
||||
snprintf(portstr, sizeof(portstr), "%i", port);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user