aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-05-07 01:54:53 -0400
committerRoger Dingledine <arma@torproject.org>2012-05-07 01:54:53 -0400
commitc648f9751f5639073ba70860dde6a8091bc6a6b8 (patch)
tree645d20d8c128c7083bbff4c6607195133addd44a /src/common/compat.c
parenta1538d607d54065c2d74c8fa695d1c0b5e33c64f (diff)
downloadtor-c648f9751f5639073ba70860dde6a8091bc6a6b8.tar.gz
tor-c648f9751f5639073ba70860dde6a8091bc6a6b8.zip
fix quad typo in comments
i assume if nickm maintained "libeven" this would never have been introduced. :)
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 1a03f5efc7..57fc021f35 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -129,7 +129,7 @@ tor_open_cloexec(const char *path, int flags, unsigned mode)
if (fd >= 0)
return fd;
/* If we got an error, see if it is EINVAL. EINVAL might indicate that,
- * event though we were built on a system with O_CLOEXEC support, we
+ * even though we were built on a system with O_CLOEXEC support, we
* are running on one without. */
if (errno != EINVAL)
return -1;
@@ -980,7 +980,7 @@ tor_open_socket(int domain, int type, int protocol)
if (SOCKET_OK(s))
goto socket_ok;
/* If we got an error, see if it is EINVAL. EINVAL might indicate that,
- * event though we were built on a system with SOCK_CLOEXEC support, we
+ * even though we were built on a system with SOCK_CLOEXEC support, we
* are running on one without. */
if (errno != EINVAL)
return s;
@@ -1014,7 +1014,7 @@ tor_accept_socket(tor_socket_t sockfd, struct sockaddr *addr, socklen_t *len)
if (SOCKET_OK(s))
goto socket_ok;
/* If we got an error, see if it is ENOSYS. ENOSYS indicates that,
- * event though we were built on a system with accept4 support, we
+ * even though we were built on a system with accept4 support, we
* are running on one without. Also, check for EINVAL, which indicates that
* we are missing SOCK_CLOEXEC support. */
if (errno != EINVAL && errno != ENOSYS)
@@ -1092,7 +1092,7 @@ tor_socketpair(int family, int type, int protocol, tor_socket_t fd[2])
if (r == 0)
goto sockets_ok;
/* If we got an error, see if it is EINVAL. EINVAL might indicate that,
- * event though we were built on a system with SOCK_CLOEXEC support, we
+ * even though we were built on a system with SOCK_CLOEXEC support, we
* are running on one without. */
if (errno != EINVAL)
return -errno;