fix two simple typos in comments

This commit is contained in:
Roger Dingledine
2023-09-05 16:06:54 -04:00
parent 3b17635f46
commit 41f3296180
+2 -2
View 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)