mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
(trunk libT) #3991 "connection encryption stopped working" -- silence minor compiler warning. patch by ijuxda.
This commit is contained in:
parent
2098669a10
commit
0bd1ec8de8
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ evbuffer_peek_all( struct evbuffer * buf, size_t * setme_vecCount )
|
||||||
struct evbuffer_iovec * iovec = tr_new0( struct evbuffer_iovec, vecCount );
|
struct evbuffer_iovec * iovec = tr_new0( struct evbuffer_iovec, vecCount );
|
||||||
const int n = evbuffer_peek( buf, byteCount, NULL, iovec, vecCount );
|
const int n = evbuffer_peek( buf, byteCount, NULL, iovec, vecCount );
|
||||||
assert( n == vecCount );
|
assert( n == vecCount );
|
||||||
*setme_vecCount = vecCount;
|
*setme_vecCount = n;
|
||||||
return iovec;
|
return iovec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue