libT) fix another r7234 bug reported by John_Clay
This commit is contained in:
parent
c414377c1a
commit
341b40f192
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue