Changeset 7749 for code/branches/presentation
- Timestamp:
- Dec 8, 2010, 5:56:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/network/WANDiscovery.cc
r7748 r7749 96 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 -1) );98 MSPROTO_SERVERLIST_ITEM_LEN+1) ); 99 99 toadd.setServerIP( std::string((char*)ev->packet->data + 100 MSPROTO_SERVERLIST_ITEM_LEN -1) );100 MSPROTO_SERVERLIST_ITEM_LEN+1) ); 101 101 102 102 /* add to list */ … … 106 106 MSPROTO_SERVERLIST_END_LEN ) ) 107 107 { 108 /* this is the only case where 1should be returned,108 /* this is the only case where 2 should be returned, 109 109 * as 1 is used to signal that we're done receiving 110 110 * the list
Note: See TracChangeset
for help on using the changeset viewer.