mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
NET_Socket unix using getaddrinfo's error code in case.
This commit is contained in:
parent
994a753bd0
commit
478d16e786
1 changed files with 2 additions and 0 deletions
|
@ -850,6 +850,8 @@ NET_Socket(char *net_interface, int port, netsrc_t type, int family)
|
|||
|
||||
if ((Error = getaddrinfo(Host, Service, &hints, &res)))
|
||||
{
|
||||
Com_Printf("ERROR: NET_Socket: getaddrinfo:%s\n",
|
||||
gai_strerror(Error));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue