Ignore:
Timestamp:
Feb 24, 2011, 2:35:45 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) #4035 "In seed state, transmission disconnect from leechers" -- fixed.

File:
1 edited

Legend:

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

    r12013 r12022  
    457457
    458458static void
    459 firePeerProgress( tr_peermsgs * msgs )
    460 {
    461     tr_peer_event e = TR_PEER_EVENT_INIT;
    462     e.eventType = TR_PEER_PEER_PROGRESS;
    463     e.progress = msgs->peer->progress;
    464     publish( msgs, &e );
    465 }
    466 
    467 static void
    468459fireGotBlock( tr_peermsgs * msgs, const struct peer_request * req )
    469460{
     
    12091200updatePeerProgress( tr_peermsgs * msgs )
    12101201{
    1211     msgs->peer->progress = tr_bitsetPercent( &msgs->peer->have );
    1212     dbgmsg( msgs, "peer progress is %f", msgs->peer->progress );
     1202    tr_peerUpdateProgress( msgs->torrent, msgs->peer );
     1203
    12131204    updateFastSet( msgs );
    12141205    updateInterest( msgs );
    1215     firePeerProgress( msgs );
    12161206}
    12171207
Note: See TracChangeset for help on using the changeset viewer.