commit c24f24b5647e9816f2ce76e265edd6091dc7abe3 Author: Nick Mathewson nickm@torproject.org Date: Mon Jan 16 15:43:24 2012 -0500
Fix target of sizeof in pending_socks_cb(). --- src/network.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/network.c b/src/network.c index bdf64c3..99b40b5 100644 --- a/src/network.c +++ b/src/network.c @@ -941,7 +941,7 @@ pending_socks_cb(struct bufferevent *bev, short what, void *arg) if (what & BEV_EVENT_CONNECTED) { struct sockaddr_storage ss; struct sockaddr *sa = (struct sockaddr*)&ss; - socklen_t slen = sizeof(&ss); + socklen_t slen = sizeof(ss);
obfs_assert(!circ->is_flushing);
tor-commits@lists.torproject.org