Changeset 6236


Ignore:
Timestamp:
Jun 21, 2008, 1:03:31 AM (14 years ago)
Author:
charles
Message:

fix `HAVE' error that broke during the webseed-piece changes last week. Reported by Aloisius in http://forum.transmissionbt.com/viewtopic.php?t=5175

File:
1 edited

Legend:

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

    r6212 r6236  
    872872                if( err )
    873873                    gotBadPiece( t, p );
     874                else {
     875                    int i, peerCount;
     876                    tr_peer ** peers = getConnectedPeers( t, &peerCount );
     877                    for( i=0; i<peerCount; ++i )
     878                        tr_peerMsgsHave( peers[i]->msgs, p );
     879                    tr_free( peers );
     880                }
    874881
    875882                tr_torrentRecheckCompleteness( tor );
Note: See TracChangeset for help on using the changeset viewer.