r781 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon May 15 15:50:44 EDT 2006


Author: thilo
Date: 2006-05-15 15:50:44 -0400 (Mon, 15 May 2006)
New Revision: 781

Modified:
   trunk/code/server/sv_client.c
Log:
Fixed missing initialization of idPack and missionPack variables which may result in failure to autodownload files from the server even if legitimate.


Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c	2006-05-15 15:57:02 UTC (rev 780)
+++ trunk/code/server/sv_client.c	2006-05-15 19:50:44 UTC (rev 781)
@@ -756,7 +756,7 @@
 	int curindex;
 	int rate;
 	int blockspersnap;
-	int idPack, missionPack, unreferenced = 1;
+	int idPack = 0, missionPack = 0, unreferenced = 1;
 	char errorMessage[1024];
 	char pakbuf[MAX_QPATH], *pakptr;
 	int numRefPaks;




More information about the quake3-commits mailing list