mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-11 20:51:37 +00:00
Merge pull request #1070 from devnexen/network_getaddrinfo_error
NET_Socket unix using getaddrinfo's error code in case.
This commit is contained in:
commit
06017193fc
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