From 59c60a2cbaa8f89d389af3b5ef93b13b80b80b88 Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 14 Apr 2006 20:28:28 +0000 Subject: * Fix to bug involving the port value of master server heartbeats (from Thilo Schulz) git-svn-id: svn://svn.icculus.org/quake3/trunk@704 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/server/sv_main.c b/code/server/sv_main.c index 84c2e52..64a6d4c 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, -- cgit v1.2.3