(trunk libT) #2195: 1.71 assertion: tr_peerIoSupportsFEXT( msgs->peer->io ) peer-msgs.c:265

This commit is contained in:
Charles Kerr 2009-06-10 13:46:46 +00:00
parent 1491801be7
commit 0dd0a0bbd7
1 changed files with 3 additions and 2 deletions

View File

@ -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
{