]> granicus.if.org Git - transmission/commitdiff
Call didWriteWrapper in utp_on_write.
authorJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:36:33 +0000 (00:36 +0000)
committerJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:36:33 +0000 (00:36 +0000)
libtransmission/peer-io.c

index 785f8f2ae4fc0a8d556b422b75c6dc47cacadaee..a884c7ce9812224310fcef1a6b69eec8bc663fa5 100644 (file)
@@ -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