Fixed uninitialized variable.

This commit is contained in:
Ryan C. Gordon committed 2009-09-14 19:31:42 +00:00
1 parent 569edcb04e
commit 82d437ee4f
1 file changed
+3 -1
+3 -1
View File
@@ -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;