Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7747


Ignore:
Timestamp:
Dec 8, 2010, 5:43:21 PM (14 years ago)
Author:
smerkli
Message:

removed the space in the WANDiscovery list (hopefully)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/libraries/network/WANDiscovery.cc

    r7744 r7747  
    9494      packet::ServerInformation toadd;
    9595
    96       /* fill in data */
     96      /* fill in data, -1 for the index: index should be length -1 */
    9797      toadd.setServerName( std::string((char*)ev->packet->data +
    98         MSPROTO_SERVERLIST_ITEM_LEN) );
     98        MSPROTO_SERVERLIST_ITEM_LEN)-1 );
    9999      toadd.setServerIP( std::string((char*)ev->packet->data +
    100         MSPROTO_SERVERLIST_ITEM_LEN) );
     100        MSPROTO_SERVERLIST_ITEM_LEN)-1 );
    101101
    102102      /* add to list */
Note: See TracChangeset for help on using the changeset viewer.