Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2006, 2:26:23 PM (18 years ago)
Author:
rennerc
Message:

less output on telnet console

File:
1 edited

Legend:

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

    r7916 r7952  
    454454     
    455455      //check if all bytes == 0 -> remove data
    456 
     456      //TODO not all synchronizeables like this maybe add Synchronizeable::canRemoveZeroDiff()
    457457      bool allZero = true;
    458458      for ( int i = 0; i < n; i++ )
     
    464464      if ( allZero )
    465465      {
    466         NETPRINTF(n)("REMOVE ZERO DIFF: %s (%d)\n", sync.getClassName(), sync.getUniqueID());
     466        //NETPRINTF(n)("REMOVE ZERO DIFF: %s (%d)\n", sync.getClassName(), sync.getUniqueID());
    467467        offset = oldOffset;
    468468      }
     
    499499    peer->second.connectionMonitor->processZippedOutgoingPacket( compBuf, compLength, currentState );
    500500   
    501     NETPRINTF(n)("send packet: %d userId = %d\n", offset, peer->second.userId);
     501    //NETPRINTF(n)("send packet: %d userId = %d\n", offset, peer->second.userId);
    502502  }
    503503}
     
    544544      assert( Converter::byteArrayToInt( buf + 2*INTSIZE, &fromState ) == INTSIZE );
    545545      assert( Converter::byteArrayToInt( buf + 3*INTSIZE, &ackedState ) == INTSIZE );
    546       NETPRINTF(n)("ackedstate: %d\n", ackedState);
     546      //NETPRINTF(n)("ackedstate: %d\n", ackedState);
    547547      offset = 4*INTSIZE;
    548548
    549       NETPRINTF(n)("got packet: %d, %d\n", length, packetLength);
     549      //NETPRINTF(n)("got packet: %d, %d\n", length, packetLength);
    550550   
    551551    //if this is an old state drop it
Note: See TracChangeset for help on using the changeset viewer.