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

(trunk libT) fix r7594 typo

This commit is contained in:
Charles Kerr 2009-01-03 05:07:45 +00:00
parent 5afd327b15
commit 7fcad8a45b

View file

@ -244,9 +244,9 @@ tr_evbuffer_write( tr_peerIo * io, int fd, size_t howmuch )
errno = 0; errno = 0;
#ifdef WIN32 #ifdef WIN32
n = send(fd, buffer->buffer, n, 0 ); n = send(fd, buffer->buffer, howmuch, 0 );
#else #else
n = write(fd, buffer->buffer, n ); n = write(fd, buffer->buffer, howmuch );
#endif #endif
e = errno; e = errno;
dbgmsg( io, "wrote %zd to peer (%s)", n, (n==-1?strerror(e):"") ); dbgmsg( io, "wrote %zd to peer (%s)", n, (n==-1?strerror(e):"") );