aboutsummaryrefslogtreecommitdiff
path: root/src/feature/client/addressmap.c
diff options
context:
space:
mode:
authorSamanta Navarro <ferivoz@riseup.net>2020-11-11 11:38:19 +0000
committerDavid Goulet <dgoulet@torproject.org>2020-11-12 11:44:09 -0500
commit4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c (patch)
tree482e652a53ead4b26e8d97a4854671cdc0df0d61 /src/feature/client/addressmap.c
parente2d3c9c5f82a1369385dd99765c31ba479ba8f23 (diff)
downloadtor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.tar.gz
tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.zip
Fix typos.
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
Diffstat (limited to 'src/feature/client/addressmap.c')
-rw-r--r--src/feature/client/addressmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/client/addressmap.c b/src/feature/client/addressmap.c
index 9ad2d7f934..e5bf2cc49c 100644
--- a/src/feature/client/addressmap.c
+++ b/src/feature/client/addressmap.c
@@ -422,7 +422,7 @@ addressmap_rewrite(char *address, size_t maxlen,
goto done;
}
- /* Check wither the flags we were passed tell us not to use this
+ /* Check whether the flags we were passed tell us not to use this
* mapping. */
switch (ent->source) {
case ADDRMAPSRC_DNS:
@@ -515,7 +515,7 @@ addressmap_rewrite_reverse(char *address, size_t maxlen, unsigned flags,
else if (f == AF_INET6 && !(flags & AMR_FLAG_USE_IPV6_DNS))
return 0;
/* FFFF we should reverse-map virtual addresses even if we haven't
- * enabled DNS cacheing. */
+ * enabled DNS caching. */
}
tor_asprintf(&s, "REVERSE[%s]", address);