commit 19ff1a81a826c4c2ab74d6cef45a9e4cd1c15704 Author: Luke Gallagher luke@hypergeometric.net Date: Wed Feb 19 11:39:19 2014 +1100
Fix: assert conn->fd typo
Signed-off-by: David Goulet dgoulet@ev0ke.net --- src/common/socks5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/socks5.c b/src/common/socks5.c index 9610f51..e725c56 100644 --- a/src/common/socks5.c +++ b/src/common/socks5.c @@ -465,7 +465,7 @@ int socks5_recv_connect_reply(struct connection *conn) size_t recv_len;
assert(conn); - assert(conn >= 0); + assert(conn->fd >= 0);
/* Beginning of the payload we are receiving. */ recv_len = sizeof(msg);
tor-commits@lists.torproject.org