Merge branch 'typos' into 'main'

fix two simple typos in comments

See merge request tpo/core/tor!755
This commit is contained in:
Alexander Færøy 2023-09-06 11:17:48 +00:00
commit 449f988c8f

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 *`. * 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 * or_connection_t *
TO_OR_CONN(connection_t *c) 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 *`. * 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 or_connection_t *
CONST_TO_OR_CONN(const connection_t *c) CONST_TO_OR_CONN(const connection_t *c)