From 0dd0a0bbd7d16e4d2cebb2fb8dbcfa86fdd1717c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 10 Jun 2009 13:46:46 +0000 Subject: [PATCH] (trunk libT) #2195: 1.71 assertion: tr_peerIoSupportsFEXT( msgs->peer->io ) peer-msgs.c:265 --- libtransmission/peer-msgs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 76c2e625d..db4106cb7 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -1736,9 +1736,10 @@ fillOutputBuffer( tr_peermsgs * msgs, time_t now ) tr_peerIoWriteUint32( io, out, req.offset ); err = tr_ioRead( msgs->torrent, req.index, req.offset, req.length, EVBUFFER_DATA(out)+EVBUFFER_LENGTH(out) ); - if( err ) /* peer needs a reject message */ + if( err ) { - protocolSendReject( msgs, &req ); + if( fext ) + protocolSendReject( msgs, &req ); } else {