Changeset 7747
- Timestamp:
- Dec 8, 2010, 5:43:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/network/WANDiscovery.cc
r7744 r7747 94 94 packet::ServerInformation toadd; 95 95 96 /* fill in data */96 /* fill in data, -1 for the index: index should be length -1 */ 97 97 toadd.setServerName( std::string((char*)ev->packet->data + 98 MSPROTO_SERVERLIST_ITEM_LEN) );98 MSPROTO_SERVERLIST_ITEM_LEN)-1 ); 99 99 toadd.setServerIP( std::string((char*)ev->packet->data + 100 MSPROTO_SERVERLIST_ITEM_LEN) );100 MSPROTO_SERVERLIST_ITEM_LEN)-1 ); 101 101 102 102 /* add to list */
Note: See TracChangeset
for help on using the changeset viewer.