1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 21:57:01 +00:00

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

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