diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index cb2094e2..55a1d4f6 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -281,7 +281,7 @@ static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int s hintsp->ai_family = family; } - retval = getaddrinfo(s, NULL, &hints, &res); + retval = getaddrinfo(s, NULL, hintsp, &res); if(!retval) {