fix `HAVE' error that broke during the webseed-piece changes last week. Reported by Aloisius in http://forum.transmissionbt.com/viewtopic.php?t=5175
This commit is contained in:
parent
ff4a64aba5
commit
cda886028d
|
@ -871,6 +871,13 @@ peerCallbackFunc( void * vpeer, void * vevent, void * vt )
|
||||||
|
|
||||||
if( err )
|
if( err )
|
||||||
gotBadPiece( t, p );
|
gotBadPiece( t, p );
|
||||||
|
else {
|
||||||
|
int i, peerCount;
|
||||||
|
tr_peer ** peers = getConnectedPeers( t, &peerCount );
|
||||||
|
for( i=0; i<peerCount; ++i )
|
||||||
|
tr_peerMsgsHave( peers[i]->msgs, p );
|
||||||
|
tr_free( peers );
|
||||||
|
}
|
||||||
|
|
||||||
tr_torrentRecheckCompleteness( tor );
|
tr_torrentRecheckCompleteness( tor );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue