1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

(trunk libT) oh ffs

This commit is contained in:
Charles Kerr 2009-01-03 03:58:35 +00:00
parent dfa0622a6c
commit 1e77d1313e

View file

@ -761,7 +761,7 @@ tr_peerIoTryRead( tr_peerIo * io, size_t howmuch )
static int static int
tr_peerIoTryWrite( tr_peerIo * io, size_t howmuch ) tr_peerIoTryWrite( tr_peerIo * io, size_t howmuch )
{ {
int n; int n = 0;
if(( howmuch = tr_bandwidthClamp( &io->bandwidth, TR_UP, howmuch ))) if(( howmuch = tr_bandwidthClamp( &io->bandwidth, TR_UP, howmuch )))
{ {