1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-15 16:29:34 +00:00

libT) fix another r7234 bug reported by John_Clay

This commit is contained in:
Charles Kerr 2008-12-02 19:38:46 +00:00
parent c414377c1a
commit 341b40f192

View file

@ -791,9 +791,11 @@ static void
cancelAllRequestsToClient( tr_peermsgs * msgs )
{
struct peer_request req;
const int mustSendCancel = tr_peerIoSupportsFEXT( msgs->io );
while( popNextRequest( msgs, &req ) )
protocolSendReject( msgs, &req );
if( mustSendCancel )
protocolSendReject( msgs, &req );
}
void