Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 24, 2010, 5:12:49 PM (14 years ago)
Author:
dafrick
Message:

fix this…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/masterserver/src/libraries/network/MasterServerComm.cc

    r7662 r7668  
    106106  {
    107107    /* see whether anything happened */
    108     if( enet_host_service( this->client, &this->event, 100 ) >= 0 )
     108    /* WORK MARK REMOVE THIS OUTPUT */
     109    COUT(2) << "MARK polling...\n";
     110
     111    if( enet_host_service( this->client, &this->event, 1000 ) >= 0 )
    109112    {
    110113      /* address buffer */
     
    149152
    150153    /* show that no event occured */
    151     return 1;
     154    return 0;
    152155  }
    153156
     
    165168    /* One could just use enet_host_service() instead. */
    166169    enet_host_flush( this->client );
     170   
    167171    if( packet ) free( packet );
    168172
Note: See TracChangeset for help on using the changeset viewer.