mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Test this one for failure... shouldn't getaddrinfo be testing this already?
This commit is contained in:
parent
94046d2d74
commit
81e583c497
@ -81,6 +81,8 @@ static int net_http_new_socket(const char * domain, int port)
|
||||
|
||||
if (getaddrinfo_rarch(domain, portstr, &hints, &addr) < 0)
|
||||
return -1;
|
||||
if (!addr)
|
||||
return -1;
|
||||
|
||||
fd = socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user