[Orxonox-commit 3052] r7748 - code/branches/presentation/src/libraries/network

smerkli at orxonox.net smerkli at orxonox.net
Wed Dec 8 17:45:41 CET 2010


Author: smerkli
Date: 2010-12-08 17:45:40 +0100 (Wed, 08 Dec 2010)
New Revision: 7748

Modified:
   code/branches/presentation/src/libraries/network/WANDiscovery.cc
Log:
whoops.

Modified: code/branches/presentation/src/libraries/network/WANDiscovery.cc
===================================================================
--- code/branches/presentation/src/libraries/network/WANDiscovery.cc	2010-12-08 16:43:21 UTC (rev 7747)
+++ code/branches/presentation/src/libraries/network/WANDiscovery.cc	2010-12-08 16:45:40 UTC (rev 7748)
@@ -95,9 +95,9 @@
 
       /* fill in data, -1 for the index: index should be length -1 */
       toadd.setServerName( std::string((char*)ev->packet->data + 
-        MSPROTO_SERVERLIST_ITEM_LEN)-1 );
+        MSPROTO_SERVERLIST_ITEM_LEN-1) );
       toadd.setServerIP( std::string((char*)ev->packet->data + 
-        MSPROTO_SERVERLIST_ITEM_LEN)-1 );
+        MSPROTO_SERVERLIST_ITEM_LEN-1) );
 
       /* add to list */
       WANDiscovery::getInstance().servers_.push_back( toadd );




More information about the Orxonox-commit mailing list