mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 05:07:00 +00:00
change this one too.
This commit is contained in:
parent
b49d2a87ab
commit
d120c9f38b
@ -54,7 +54,7 @@ int socket_init(void **address, uint16_t port, const char *server, enum socket_t
|
||||
|
||||
snprintf(port_buf, sizeof(port_buf), "%hu", (unsigned short)port);
|
||||
|
||||
if (getaddrinfo_retro(server, port_buf, &hints, addrinfo) < 0)
|
||||
if (getaddrinfo_retro(server, port_buf, &hints, addrinfo) != 0)
|
||||
goto error;
|
||||
|
||||
addr = (struct addrinfo*)*addrinfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user