[Orxonox-commit 6195] r10853 - code/branches/cpp11_v2/src/libraries/network
landauf at orxonox.net
landauf at orxonox.net
Tue Nov 24 22:47:44 CET 2015
Author: landauf
Date: 2015-11-24 22:47:44 +0100 (Tue, 24 Nov 2015)
New Revision: 10853
Modified:
code/branches/cpp11_v2/src/libraries/network/LANDiscoverable.cc
Log:
re-added debug-output (after reviewing r10817). why was it removed? did clang complain about it?
Modified: code/branches/cpp11_v2/src/libraries/network/LANDiscoverable.cc
===================================================================
--- code/branches/cpp11_v2/src/libraries/network/LANDiscoverable.cc 2015-11-24 21:46:44 UTC (rev 10852)
+++ code/branches/cpp11_v2/src/libraries/network/LANDiscoverable.cc 2015-11-24 21:47:44 UTC (rev 10853)
@@ -108,7 +108,7 @@
switch(event.type)
{
case ENET_EVENT_TYPE_CONNECT:
- //orxout(verbose, context::network) << "Received LAN discovery connect from client " << event.peer->host->receivedAddress << endl;
+ orxout(verbose, context::network) << "Received LAN discovery connect from client " << event.peer->host->receivedAddress << endl;
break;
case ENET_EVENT_TYPE_DISCONNECT:
case ENET_EVENT_TYPE_NONE:
@@ -116,7 +116,7 @@
case ENET_EVENT_TYPE_RECEIVE:
if( strcmp( LAN_DISCOVERY_MESSAGE, (char*)event.packet->data ) == 0 ) // check for a suitable orxonox client
{
- //orxout(internal_info, context::network) << "Received LAN discovery message from client " << event.peer->host->receivedAddress << endl;
+ orxout(internal_info, context::network) << "Received LAN discovery message from client " << event.peer->host->receivedAddress << endl;
packet::ServerInformation info;
info.setServerName(this->ownName);
info.setClientNumber(this->clientNumber);
More information about the Orxonox-commit
mailing list