diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-14 20:28:28 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-14 20:28:28 +0000 |
commit | 59c60a2cbaa8f89d389af3b5ef93b13b80b80b88 (patch) | |
tree | 7abc6da4b3072f129d5c19afdd9ad6aec29fceab /code | |
parent | 499b37c7d8f812b22db120d94772367f336e902a (diff) | |
download | ioquake3-aero-59c60a2cbaa8f89d389af3b5ef93b13b80b80b88.tar.gz ioquake3-aero-59c60a2cbaa8f89d389af3b5ef93b13b80b80b88.zip |
* 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
Diffstat (limited to 'code')
-rw-r--r-- | code/server/sv_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |