1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 13:16:53 +00:00

(trunk libT) #3991 "connection encryption stopped working" -- silence minor compiler warning. patch by ijuxda.

This commit is contained in:
Jordan Lee 2011-02-09 02:26:35 +00:00
parent 2098669a10
commit 0bd1ec8de8

View file

@ -774,7 +774,7 @@ evbuffer_peek_all( struct evbuffer * buf, size_t * setme_vecCount )
struct evbuffer_iovec * iovec = tr_new0( struct evbuffer_iovec, vecCount );
const int n = evbuffer_peek( buf, byteCount, NULL, iovec, vecCount );
assert( n == vecCount );
*setme_vecCount = vecCount;
*setme_vecCount = n;
return iovec;
}