r704 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Apr 14 16:28:28 EDT 2006


Author: tma
Date: 2006-04-14 16:28:28 -0400 (Fri, 14 Apr 2006)
New Revision: 704

Modified:
   trunk/code/server/sv_main.c
Log:
* Fix to bug involving the port value of master server heartbeats (from Thilo
  Schulz)


Modified: trunk/code/server/sv_main.c
===================================================================
--- trunk/code/server/sv_main.c	2006-04-14 20:15:58 UTC (rev 703)
+++ trunk/code/server/sv_main.c	2006-04-14 20:28:28 UTC (rev 704)
@@ -258,7 +258,7 @@
 				sv_master[i]->modified = qfalse;
 				continue;
 			}
-			if ( !strstr( ":", sv_master[i]->string ) ) {
+			if ( !strchr( sv_master[i]->string, ':' ) ) {
 				adr[i].port = BigShort( PORT_MASTER );
 			}
 			Com_Printf( "%s resolved to %i.%i.%i.%i:%i\n", sv_master[i]->string,




More information about the quake3-commits mailing list