diff --git a/src/common/tortls.c b/src/common/tortls.c
index cc49310ba9..a069ebf052 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -795,7 +795,7 @@ tor_cert_decode(const uint8_t *certificate, size_t certificate_len)
return newcert;
}
-/** Set *encoded_out and *size_out/b> to cert's encoded DER
+/** Set *encoded_out and *size_out to cert's encoded DER
* representation and length, respectively. */
void
tor_cert_get_der(const tor_cert_t *cert,
diff --git a/src/or/config.c b/src/or/config.c
index 5f5960f945..81d77c33e4 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2259,7 +2259,7 @@ config_assign_value(const config_format_t *fmt, or_options_t *options,
return 0;
}
-/** Mark every linelist in options "fragile", so that fresh assignments
+/** Mark every linelist in options "fragile", so that fresh assignments
* to it will replace old ones. */
static void
config_mark_lists_fragile(const config_format_t *fmt, or_options_t *options)
@@ -6082,7 +6082,7 @@ get_configured_ports(void)
return configured_ports;
}
-/** Return an : string representation of the address
+/** Return an address:port string representation of the address
* where the first listener_type listener waits for
* connections. Return NULL if we couldn't find a listener. The
* string is allocated on the heap and it's the responsibility of the
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 6a2f2432e2..fbab666a75 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1652,7 +1652,7 @@ or_handshake_state_free(or_handshake_state_t *state)
/**
* Remember that cell has been transmitted (if incoming is
- * false) or received (if incoming is true) during a V3 handshake using
+ * false) or received (if incoming is true) during a V3 handshake using
* state.
*
* (We don't record the cell, but we keep a digest of everything sent or
@@ -1691,8 +1691,8 @@ or_handshake_state_record_cell(or_handshake_state_t *state,
}
/** Remember that a variable-length cell has been transmitted (if
- * incoming is false) or received (if incoming is true) during a V3
- * handshake using state.
+ * incoming is false) or received (if incoming is true) during a
+ * V3 handshake using state.
*
* (We don't record the cell, but we keep a digest of everything sent or
* received during the v3 handshake, and the client signs it in an
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index db0844d2fb..558643903c 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1430,7 +1430,7 @@ nodelist_add_node_and_family(smartlist_t *sl, const node_t *node)
}
/** Given a router, add every node_t in its family (including the
- * node itself) to sl.
+ * node itself!) to sl.
*
* Note the type mismatch: This function takes a routerinfo, but adds nodes
* to the smartlist!