Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7775 in orxonox.OLD


Ignore:
Timestamp:
May 23, 2006, 3:15:23 PM (18 years ago)
Author:
rennerc
Message:

added some debug output

Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/handshake.cc

    r7774 r7775  
    103103  }
    104104 
     105  PRINTF(0)("=======================BEGIN=============================");
    105106  for ( std::list<int>::iterator it = id.begin(); it != id.end(); it++ )
    106107  {
    107108    if ( *it == netManId_handler )
    108       NETPRINTF(0)("netManId_handler\n");
     109      PRINTF(0)("netManId_handler\n");
    109110    if ( *it == msgManId_handler )
    110       NETPRINTF(0)("msgManId_handler\n");
     111      PRINTF(0)("msgManId_handler\n");
    111112    if ( *it == hostId_handler )
    112       NETPRINTF(0)("hostId_handler\n");
     113      PRINTF(0)("hostId_handler\n");
    113114    if ( *it == completed_handler )
    114       NETPRINTF(0)("completed_handler\n");
     115      PRINTF(0)("completed_handler\n");
    115116    if ( *it == error_handler )
    116       NETPRINTF(0)("error_handler\n");
     117      PRINTF(0)("error_handler\n");
    117118    if ( *it == errorString_handler )
    118       NETPRINTF(0)("errorString_handler\n");
     119      PRINTF(0)("errorString_handler\n");
    119120    if ( *it == orxId_handler )
    120       NETPRINTF(0)("orxId_handler\n");
     121      PRINTF(0)("orxId_handler\n");
    121122    if ( *it == version_handler )
    122       NETPRINTF(0)("version_handler\n");
     123      PRINTF(0)("version_handler\n");
    123124  }
     125  PRINTF(0)("=========================================================");
    124126}
    125127
  • branches/network/src/lib/network/network_stream.cc

    r7774 r7775  
    514514          if ( !peers[peer->second.userId].isServer )
    515515          {
     516            PRINTF(0)("Client %d is no server: dont accept new synchronizeable\n", peer->second.userId);
    516517            offset += syncDataLength;
    517518            continue;
Note: See TracChangeset for help on using the changeset viewer.