[torsocks/master] Fix typo: catched → caught.
dgoulet at torproject.org
dgoulet at torproject.org
Fri Aug 4 18:44:17 UTC 2017
commit 2810dd44bb8928cfffda0c028701b98f84f305b3
Author: intrigeri <intrigeri at boum.org>
Date: Tue Jan 12 05:22:02 2016 +0000
Fix typo: catched → caught.
Spotted by Lintian.
---
src/common/compat.h | 2 +-
src/lib/close.c | 2 +-
src/lib/connect.c | 2 +-
src/lib/fclose.c | 2 +-
src/lib/sendto.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/common/compat.h b/src/common/compat.h
index ce47129..fbaee3f 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -64,7 +64,7 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine)(void));
/*
* Some old system requires kernel headers for those values. If they are not
* defined, set them to a bad syscall value. Just to be clear, if the value is
- * undefined, tsocks syscall() will DENY the real syscall if catched.
+ * undefined, tsocks syscall() will DENY the real syscall if caught.
*
* The values are not the same per syscall here so we don't end up with
* duplicates in the switch case in the tsocks sycall wrapper.
diff --git a/src/lib/close.c b/src/lib/close.c
index 7fb9e53..23c80e6 100644
--- a/src/lib/close.c
+++ b/src/lib/close.c
@@ -30,7 +30,7 @@ LIBC_CLOSE_RET_TYPE tsocks_close(LIBC_CLOSE_SIG)
{
struct connection *conn;
- DBG("Close catched for fd %d", fd);
+ DBG("Close caught for fd %d", fd);
connection_registry_lock();
conn = connection_find(fd);
diff --git a/src/lib/connect.c b/src/lib/connect.c
index 2480643..ac51835 100644
--- a/src/lib/connect.c
+++ b/src/lib/connect.c
@@ -109,7 +109,7 @@ LIBC_CONNECT_RET_TYPE tsocks_connect(LIBC_CONNECT_SIG)
struct connection *new_conn;
struct onion_entry *on_entry;
- DBG("Connect catched on fd %d", sockfd);
+ DBG("Connect caught on fd %d", sockfd);
/*
* Validate socket values in order to see if we can handle this connect
diff --git a/src/lib/fclose.c b/src/lib/fclose.c
index b6f3251..6bb6a2c 100644
--- a/src/lib/fclose.c
+++ b/src/lib/fclose.c
@@ -42,7 +42,7 @@ LIBC_FCLOSE_RET_TYPE tsocks_fclose(LIBC_FCLOSE_SIG)
goto error;
}
- DBG("[fclose] Close catched for fd %d", fd);
+ DBG("[fclose] Close caught for fd %d", fd);
connection_registry_lock();
conn = connection_find(fd);
diff --git a/src/lib/sendto.c b/src/lib/sendto.c
index 6b1d3ff..087eb1f 100644
--- a/src/lib/sendto.c
+++ b/src/lib/sendto.c
@@ -51,7 +51,7 @@ LIBC_SENDTO_RET_TYPE tsocks_sendto(LIBC_SENDTO_SIG)
goto libc_sendto;
}
- DBG("[sendto] TCP fast open catched on fd %d", sockfd);
+ DBG("[sendto] TCP fast open caught on fd %d", sockfd);
ret = connect(sockfd, dest_addr, addrlen);
if (ret == 0) {
More information about the tor-commits
mailing list