From 131fb9933fe4f1974b21331dfe1fde1bf6d2d046 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 14 Apr 2006 20:28:28 +0000 Subject: [PATCH] * Fix to bug involving the port value of master server heartbeats (from Thilo Schulz) --- code/server/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/server/sv_main.c b/code/server/sv_main.c index 84c2e52e..64a6d4c3 100644 --- a/code/server/sv_main.c +++ b/code/server/sv_main.c @@ -258,7 +258,7 @@ void SV_MasterHeartbeat( void ) { 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,