]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix two simple typos in comments
authorRoger Dingledine <arma@torproject.org>
Tue, 5 Sep 2023 20:06:54 +0000 (16:06 -0400)
committerRoger Dingledine <arma@torproject.org>
Tue, 5 Sep 2023 20:06:54 +0000 (16:06 -0400)
src/core/or/connection_or.c

index 343c1a67ed3ee7cf9b36c080e6d1acd772543b1a..30ce5e0c5757c4eae7dfb2b248ded556ad0ca311 100644 (file)
@@ -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)