Changeset 9600


Ignore:
Timestamp:
Nov 27, 2009, 2:27:44 PM (13 years ago)
Author:
charles
Message:

(trunk libT) tweak the debugging message for the atom manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r9593 r9600  
    30223022            struct peer_atom ** keep = tr_new( struct peer_atom*, atomCount );
    30233023            struct peer_atom ** test = tr_new( struct peer_atom*, atomCount );
    3024             tordbg( t, "max atom count is %d; have %d.. pruning\n", maxAtomCount, atomCount );
    30253024
    30263025            /* keep the ones that are in use */
     
    30503049            t->pool = TR_PTR_ARRAY_INIT;
    30513050            qsort( keep, keepCount, sizeof( struct peer_atom * ), compareAtomPtrsByAddress );
    3052             for( i=0; i<keepCount; ++i ) {
    3053                 if( i+1<keepCount )
    3054                     assert( tr_compareAddresses( &keep[i]->addr, &keep[i+1]->addr ) < 0 );
     3051            for( i=0; i<keepCount; ++i )
    30553052                tr_ptrArrayAppend( &t->pool, keep[i] );
    3056             }
     3053
     3054            tordbg( t, "max atom count is %d... pruned from %d to %d\n", maxAtomCount, atomCount, keepCount );
    30573055
    30583056            /* cleanup */
Note: See TracChangeset for help on using the changeset viewer.