[Pkg-privacy-commits] [torsocks] 02/17: Fix typo: catched -> caught

Intrigeri intrigeri at moszumanska.debian.org
Wed Oct 19 20:59:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch bugfix/typo-subsytem
in repository torsocks.

commit 1964b72e5592fea857aa7a5440babfc8805b5be7
Author: intrigeri <intrigeri at boum.org>
Date:   Thu Jun 23 11:11:07 2016 -0400

    Fix typo: catched -> caught
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 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 b14df7f..41ab8a8 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -65,7 +65,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 71c5886..4f18289 100644
--- a/src/lib/connect.c
+++ b/src/lib/connect.c
@@ -115,7 +115,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 75994f4..c8461bc 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torsocks.git



More information about the Pkg-privacy-commits mailing list