[Orxonox-commit 2968] r7667 - code/branches/masterserver/src/libraries/network
dafrick at orxonox.net
dafrick at orxonox.net
Wed Nov 24 17:12:36 CET 2010
Author: dafrick
Date: 2010-11-24 17:12:36 +0100 (Wed, 24 Nov 2010)
New Revision: 7667
Modified:
code/branches/masterserver/src/libraries/network/WANDiscovery.cc
Log:
fix this...
Modified: code/branches/masterserver/src/libraries/network/WANDiscovery.cc
===================================================================
--- code/branches/masterserver/src/libraries/network/WANDiscovery.cc 2010-11-24 15:13:04 UTC (rev 7666)
+++ code/branches/masterserver/src/libraries/network/WANDiscovery.cc 2010-11-24 16:12:36 UTC (rev 7667)
@@ -48,11 +48,13 @@
/* initialize it and see if it worked */
if( msc.initialize() )
- COUT(1) << "Error: could not initialize master server communications!\n";
+ COUT(0) << "Error: could not initialize master server communications!\n";
/* connect and see if it worked */
if( msc.connect( MS_ADDRESS, 1234 ) )
- COUT(1) << "Error: could not connect to master server!\n";
+ COUT(0) << "Error: could not connect to master server!\n";
+
+ COUT(0) << "Initialization of WANDiscovery complete.\n";
}
WANDiscovery::~WANDiscovery()
@@ -104,7 +106,7 @@
this->msc.sendRequest( MSPROTO_CLIENT " " MSPROTO_REQ_LIST );
/* deal with replies */
- while( !(this->msc).pollForReply( rhandler ) )
+ while( !((this->msc).pollForReply( rhandler )) )
/* nothing */;
/* done receiving. */
More information about the Orxonox-commit
mailing list