aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2023-09-06 11:17:48 +0000
committerAlexander Færøy <ahf@torproject.org>2023-09-06 11:17:48 +0000
commit449f988c8f5e610b2a030a0c2577afd4bb74dc4a (patch)
tree8fc003c648b9b5395f580fcd9efa933e97de5092
parent3b17635f46055e465a3c5c927edc2242fd58c5e1 (diff)
parent41f32961807bf0879147ba3ef35ead6b68306957 (diff)
downloadtor-449f988c8f5e610b2a030a0c2577afd4bb74dc4a.tar.gz
tor-449f988c8f5e610b2a030a0c2577afd4bb74dc4a.zip
Merge branch 'typos' into 'main'
fix two simple typos in comments See merge request tpo/core/tor!755
-rw-r--r--src/core/or/connection_or.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/connection_or.c b/src/core/or/connection_or.c
index 343c1a67ed..30ce5e0c57 100644
--- a/src/core/or/connection_or.c
+++ b/src/core/or/connection_or.c
@@ -104,7 +104,7 @@ static void connection_or_check_canonicity(or_connection_t *conn,
/**
* Cast a `connection_t *` to an `or_connection_t *`.
*
- * Exit with an assertion failure if the input is not an `or_connnection_t`.
+ * Exit with an assertion failure if the input is not an `or_connection_t`.
**/
or_connection_t *
TO_OR_CONN(connection_t *c)
@@ -116,7 +116,7 @@ TO_OR_CONN(connection_t *c)
/**
* Cast a `const connection_t *` to a `const or_connection_t *`.
*
- * Exit with an assertion failure if the input is not an `or_connnection_t`.
+ * Exit with an assertion failure if the input is not an `or_connection_t`.
**/
const or_connection_t *
CONST_TO_OR_CONN(const connection_t *c)