mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Change getaddrinfo_rarch call to be the same as the rest
This commit is contained in:
parent
9df772f4f7
commit
79a4de0677
@ -94,8 +94,7 @@ static int net_http_new_socket(const char * domain, int port)
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_flags = 0;
|
||||
|
||||
getaddrinfo_rarch(domain, portstr, &hints, &addr);
|
||||
if (!addr)
|
||||
if (getaddrinfo_rarch(domain, portstr, &hints, &addr) < 0)
|
||||
return -1;
|
||||
|
||||
(void)i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user