Changeset 8288


Ignore:
Timestamp:
Apr 25, 2009, 7:04:48 PM (12 years ago)
Author:
charles
Message:

(trunk libT) small bandwidth patch from wereHamster

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r8265 r8288  
    218218        dbgmsg( "peer #%d of %d used %d bytes in this pass", i, n, bytesUsed );
    219219
    220         if( bytesUsed == (int)increment )
     220        if( bytesUsed > 0 )
    221221            ++i;
    222222        else {
  • trunk/libtransmission/rpcimpl.c

    r8259 r8288  
    12621262    const char * result = NULL;
    12631263
     1264fprintf( stderr, "got RPC request [%s]\n", tr_bencToJSON(request) );
     1265
    12641266    if( callback == NULL )
    12651267        callback = noop_response_callback;
Note: See TracChangeset for help on using the changeset viewer.