mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk libT) fix r7594 typo
This commit is contained in:
parent
5afd327b15
commit
7fcad8a45b
1 changed files with 2 additions and 2 deletions
|
@ -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):"") );
|
||||||
|
|
Loading…
Reference in a new issue