[tor-commits] [torsocks/master] Fix: assert conn->fd typo
dgoulet at torproject.org
dgoulet at torproject.org
Fri Apr 4 22:40:27 UTC 2014
commit 19ff1a81a826c4c2ab74d6cef45a9e4cd1c15704
Author: Luke Gallagher <luke at hypergeometric.net>
Date: Wed Feb 19 11:39:19 2014 +1100
Fix: assert conn->fd typo
Signed-off-by: David Goulet <dgoulet at 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);
More information about the tor-commits
mailing list