]> granicus.if.org Git - transmission/commit
#5964: Follow-up fix for #5456 (encrypted communication with libevent 2.1.x)
authorMike Gelfand <mikedld@mikedld.com>
Wed, 24 Jun 2015 20:38:41 +0000 (20:38 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Wed, 24 Jun 2015 20:38:41 +0000 (20:38 +0000)
commitcdcc9e249f8c5894be46d85d6a4a55d030a1766c
tree1b8bd6d81846135ab9ab8b81bde3c0f7775a1666
parent6101a699572faeb81009f0db1e782c01e28af253
#5964: Follow-up fix for #5456 (encrypted communication with libevent 2.1.x)

I've misread libevent documentation and the check introduced was not
entirely correct. Changed `evbuffer_peek` call now to only request the
data which would fit into provided iovec.
libtransmission/peer-io.c