diff options
-rw-r--r-- | code/qcommon/net_ip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index b305249..0d438b5 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -267,7 +267,9 @@ Sys_StringToSockaddr */ static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int sadr_len, sa_family_t family) { - struct addrinfo hints, *res = NULL, *search; + struct addrinfo hints; + struct addrinfo *res = NULL; + struct addrinfo *search = NULL; struct addrinfo *hintsp; int retval; |