From f33a772b00726a0c846c9a4095dfa03f0b8fe81b Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 18 Feb 2011 00:36:33 +0000 Subject: [PATCH] Call didWriteWrapper in utp_on_write. --- libtransmission/peer-io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtransmission/peer-io.c b/libtransmission/peer-io.c index 785f8f2ae..a884c7ce9 100644 --- a/libtransmission/peer-io.c +++ b/libtransmission/peer-io.c @@ -398,6 +398,8 @@ utp_on_write(void *closure, unsigned char *buf, size_t buflen) if( rc < (long)buflen ) { tr_nerr( "UTP", "Short write: %d < %ld", rc, (long)buflen); } + + didWriteWrapper( io, buflen ); } static size_t