summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2021-03-24 18:13:46 -0400
committerRoger Dingledine <arma@torproject.org>2021-03-24 18:13:46 -0400
commit962b15aa6fc5d9a8ca68be30646bc3c1256a497e (patch)
tree2eb363401160dd69adc595cfa5d5e63becfc7f6b /src
parentf6af8e2021179498d3e964ea068f9b0aa8b8f8e4 (diff)
downloadtor-962b15aa6fc5d9a8ca68be30646bc3c1256a497e.tar.gz
tor-962b15aa6fc5d9a8ca68be30646bc3c1256a497e.zip
fix some tiny typos
Diffstat (limited to 'src')
-rw-r--r--src/core/mainloop/connection.c2
-rw-r--r--src/feature/hs/hs_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 9715fe3fb9..9c6da1295f 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -1242,7 +1242,7 @@ create_unix_sockaddr(const char *listenaddress, char **readable_address,
/**
* A socket failed from resource exhaustion.
*
- * AMong other actions, warn that an accept or a connect has failed because
+ * Among other actions, warn that an accept or a connect has failed because
* we're running out of TCP sockets we can use on current system. Rate-limit
* these warnings so that we don't spam the log. */
static void
diff --git a/src/feature/hs/hs_common.c b/src/feature/hs/hs_common.c
index 646e05daf4..c9195c2934 100644
--- a/src/feature/hs/hs_common.c
+++ b/src/feature/hs/hs_common.c
@@ -55,7 +55,7 @@ static const char *str_ed25519_basepoint =
#ifdef HAVE_SYS_UN_H
-/** Given <b>ports</b>, a smarlist containing hs_port_config_t,
+/** Given <b>ports</b>, a smartlist containing hs_port_config_t,
* add the given <b>p</b>, a AF_UNIX port to the list. Return 0 on success
* else return -ENOSYS if AF_UNIX is not supported (see function in the
* #else statement below). */