mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
libT) fix another r7234 bug reported by John_Clay
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user