[tor-commits] [torsocks/master] Fix: typo in the listen macro declaration
dgoulet at torproject.org
dgoulet at torproject.org
Sat Oct 25 14:00:19 UTC 2014
commit 579ad0f03c780469b74920b1f8cd7f5202c9f6cb
Author: David Goulet <dgoulet at ev0ke.net>
Date: Fri Oct 24 13:01:06 2014 -0400
Fix: typo in the listen macro declaration
"bind" name was used instead of "listen" in the extern declaration in
torsock.h. This did not cause any issues since the full non extern
declaration of the symbol was correctly defined in listen.c.
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
src/lib/torsocks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/torsocks.h b/src/lib/torsocks.h
index 9a99847..1a4219c 100644
--- a/src/lib/torsocks.h
+++ b/src/lib/torsocks.h
@@ -374,7 +374,7 @@ extern TSOCKS_LIBC_DECL(accept4, LIBC_ACCEPT4_RET_TYPE, LIBC_ACCEPT4_SIG)
#endif
/* listen(2) */
-extern TSOCKS_LIBC_DECL(bind, LIBC_LISTEN_RET_TYPE, LIBC_LISTEN_SIG)
+extern TSOCKS_LIBC_DECL(listen, LIBC_LISTEN_RET_TYPE, LIBC_LISTEN_SIG)
#define LIBC_LISTEN_DECL LIBC_LISTEN_RET_TYPE \
LIBC_LISTEN_NAME(LIBC_LISTEN_SIG)
More information about the tor-commits
mailing list