Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

whoops, I did it again. sorry.

File:
1 edited

Legend:

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

    r7748 r7749  
    9696      /* 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-1) );
     98        MSPROTO_SERVERLIST_ITEM_LEN+1) );
    9999      toadd.setServerIP( std::string((char*)ev->packet->data +
    100         MSPROTO_SERVERLIST_ITEM_LEN-1) );
     100        MSPROTO_SERVERLIST_ITEM_LEN+1) );
    101101
    102102      /* add to list */
     
    106106      MSPROTO_SERVERLIST_END_LEN ) )
    107107    {
    108       /* this is the only case where 1 should be returned,
     108      /* this is the only case where 2 should be returned,
    109109       * as 1 is used to signal that we're done receiving
    110110       * the list
Note: See TracChangeset for help on using the changeset viewer.