Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2011, 9:09:23 PM (14 years ago)
Author:
landauf
Message:

Replaced COUT with orxout in network library. Tried to set levels and contexts in a more or less useful way, but not really optimized. Used contexts network, packets, and master_server.
Please use endl instead of \n in the future (@smerkli) ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/network/PeerList.cc

    r8351 r8807  
    4040  { /* error correction */
    4141    if( toadd == NULL )
    42     { fprintf( stderr, "PeerList::addPeer: empty peer given.\n" );
     42    { orxout(internal_error, context::master_server) << "PeerList::addPeer: empty peer given." << endl;
    4343      return -1;
    4444    }
Note: See TracChangeset for help on using the changeset viewer.