Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Removed some things and fixed some bugs

File:
1 edited

Legend:

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

    r7739 r7745  
    8787    if (this->peer == NULL )
    8888    { COUT(2) << "ERROR: No available peers for initiating an ENet connection.\n";
    89     //exit (EXIT_FAILURE);
    9089    return -1;
    9190    }
     
    9493    if (enet_host_service (this->client, this->event, 2000) > 0 &&
    9594        this->event->type == ENET_EVENT_TYPE_CONNECT )
    96       fprintf( stdout, "Connection to server succeeded." );
     95      COUT(3) << "Connection to master server succeeded.\n";
    9796    else
    9897    {
    9998      enet_peer_reset (this->peer);
    10099      fprintf( stdout, "Connection to %s failed.", address );
    101       //exit(EXIT_FAILURE);
     100      COUT(2) << "ERROR: connection to " << address << " failed.\n";
    102101      return -1;
    103102    }
Note: See TracChangeset for help on using the changeset viewer.