Changeset 7768


Ignore:
Timestamp:
Jan 21, 2009, 4:02:39 AM (12 years ago)
Author:
charles
Message:

(trunk libT) add a couple of simple debugging messages

File:
1 edited

Legend:

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

    r7721 r7768  
    786786    struct peer_request req;
    787787
     788    dbgmsg( msgs, "clientIsChoked %d, download allowed %d, len %d, max %d, msgs->clientWillAskFor.len %d",
     789            (int)msgs->peer->clientIsChoked,
     790            (int)tr_torrentIsPieceTransferAllowed( msgs->torrent, TR_PEER_TO_CLIENT ),
     791            len, max, msgs->clientWillAskFor.len );
     792
    788793    if( msgs->peer->clientIsChoked )
    789794        return;
     
    809814            ++sent;
    810815        }
     816        else dbgmsg( msgs, "not asking for it because we've already got it..." );
    811817    }
    812818
Note: See TracChangeset for help on using the changeset viewer.