[quake3-commits] r1839 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 3 12:34:26 EST 2011


Author: thilo
Date: 2011-02-03 12:34:26 -0500 (Thu, 03 Feb 2011)
New Revision: 1839

Modified:
   trunk/code/game/g_svcmds.c
Log:
whatever devhc you're right


Modified: trunk/code/game/g_svcmds.c
===================================================================
--- trunk/code/game/g_svcmds.c	2011-02-03 02:54:36 UTC (rev 1838)
+++ trunk/code/game/g_svcmds.c	2011-02-03 17:34:26 UTC (rev 1839)
@@ -155,7 +155,7 @@
 				Q_strcat(ip, sizeof(ip), va("%i", b[j]));
 			Q_strcat(ip, sizeof(ip), (j<3) ? "." : " ");
 		}		
-		if (strlen(iplist_final)+strlen(ip) < MAX_CVAR_VALUE_STRING - 1)
+		if (strlen(iplist_final)+strlen(ip) < MAX_CVAR_VALUE_STRING)
 		{
 			Q_strcat( iplist_final, sizeof(iplist_final), ip);
 		}



More information about the quake3-commits mailing list