Schedule a uTP write in peerIoWriteBuf.

This commit is contained in:
Juliusz Chroboczek 2011-02-18 00:24:28 +00:00
parent 1090e5a262
commit c9bbab05ee
1 changed files with 2 additions and 0 deletions

View File

@ -990,6 +990,8 @@ tr_peerIoWriteBuf( tr_peerIo * io, struct evbuffer * buf, tr_bool isPieceData )
maybeEncryptBuffer( io, buf );
evbuffer_add_buffer( io->outbuf, buf );
addDatatype( io, byteCount, isPieceData );
if( io->utp_socket )
UTP_Write( io->utp_socket, byteCount );
}
void