summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2024-05-29 12:45:51 -0400
committerRoger Dingledine <arma@torproject.org>2024-05-29 12:45:51 -0400
commitd990aba61385727e2dfe0a2b4dc4b3fcdcdae690 (patch)
tree72bbf591d44fa964a3782a251799810e4055afd9 /src
parent7a5d94bcf842299534b667433424ac7a1133d371 (diff)
downloadtor-d990aba61385727e2dfe0a2b4dc4b3fcdcdae690.tar.gz
tor-d990aba61385727e2dfe0a2b4dc4b3fcdcdae690.zip
fix a few comment typos
Diffstat (limited to 'src')
-rw-r--r--src/core/or/circuitbuild.c2
-rw-r--r--src/feature/relay/dns.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/or/circuitbuild.c b/src/core/or/circuitbuild.c
index dc1912294b..878436339b 100644
--- a/src/core/or/circuitbuild.c
+++ b/src/core/or/circuitbuild.c
@@ -1343,7 +1343,7 @@ circuit_finish_handshake(origin_circuit_t *circ,
hop->ccontrol = congestion_control_new(&params, CC_PATH_EXIT);
} else {
/* This is likely directory requests, which should block on orconn
- * before congestion control, but lets give them the lower sbws
+ * before congestion control, but let's give them the lower sbws
* param set anyway just in case. */
log_info(LD_CIRC,
"Unexpected path length %d for exit circuit %d, purpose %d",
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c
index 129f6209d7..eb31678189 100644
--- a/src/feature/relay/dns.c
+++ b/src/feature/relay/dns.c
@@ -1184,8 +1184,8 @@ dns_found_answer(const char *address, uint8_t query_type,
* resolution.
*
* Do this by sending a RELAY_RESOLVED cell (if the pending stream had sent us
- * RELAY_RESOLVE cell), or by launching an exit connection (if the pending
- * stream had send us a RELAY_BEGIN cell).
+ * a RELAY_RESOLVE cell), or by launching an exit connection (if the pending
+ * stream had sent us a RELAY_BEGIN cell).
*/
static void
inform_pending_connections(cached_resolve_t *resolve)