[quake3-commits] r1591 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 14 15:31:42 EDT 2009
Author: icculus
Date: 2009-09-14 15:31:42 -0400 (Mon, 14 Sep 2009)
New Revision: 1591
Modified:
trunk/code/qcommon/net_ip.c
Log:
Fixed uninitialized variable.
Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c 2009-09-14 19:28:59 UTC (rev 1590)
+++ trunk/code/qcommon/net_ip.c 2009-09-14 19:31:42 UTC (rev 1591)
@@ -267,7 +267,9 @@
*/
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;
More information about the quake3-commits
mailing list