aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/qcommon/net_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c
index cb2094e..55a1d4f 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)
{