[torsocks/master] Fix typo: conect → connect.

dgoulet at torproject.org dgoulet at torproject.org
Fri Aug 4 18:44:17 UTC 2017


commit b072b72ca0e4e4598bd7b2a96e6e2a8681a57148
Author: intrigeri <intrigeri at boum.org>
Date:   Wed Oct 19 21:15:51 2016 +0000

    Fix typo: conect → connect.
---
 src/lib/connect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/connect.c b/src/lib/connect.c
index 4f18289..7f5657c 100644
--- a/src/lib/connect.c
+++ b/src/lib/connect.c
@@ -60,7 +60,7 @@ int tsocks_validate_socket(int sockfd, const struct sockaddr *addr)
 	 * to allow AF_UNIX/_LOCAL socket to work with torsocks.
 	 */
 	if (addr->sa_family != AF_INET && addr->sa_family != AF_INET6) {
-		DBG("[conect] Connection is not IPv4/v6. Ignoring.");
+		DBG("[connect] Connection is not IPv4/v6. Ignoring.");
 		/* Ask the call to use the libc connect. */
 		goto libc_call;
 	}





More information about the tor-commits mailing list