aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/tortls.c2
-rw-r--r--src/or/config.c4
-rw-r--r--src/or/connection_or.c6
-rw-r--r--src/or/routerlist.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index cc49310ba..a069ebf05 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 *<b>encoded_out</b> and *<b>size_out/b> to <b>cert</b>'s encoded DER
+/** Set *<b>encoded_out</b> and *<b>size_out</b> to <b>cert</b>'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 5f5960f94..81d77c33e 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 <b>options<b> "fragile", so that fresh assignments
+/** Mark every linelist in <b>options</b> "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 <address>:<port> string representation of the address
+/** Return an address:port string representation of the address
* where the first <b>listener_type</b> 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 6a2f2432e..fbab666a7 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 <b>cell</b> has been transmitted (if <b>incoming</b> is
- * false) or received (if <b>incoming is true) during a V3 handshake using
+ * false) or received (if <b>incoming</b> is true) during a V3 handshake using
* <b>state</b>.
*
* (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 <b>cell</b> has been transmitted (if
- * <b>incoming</b> is false) or received (if <b>incoming is true) during a V3
- * handshake using <b>state</b>.
+ * <b>incoming</b> is false) or received (if <b>incoming</b> is true) during a
+ * V3 handshake using <b>state</b>.
*
* (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 db0844d2f..558643903 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 <b>router</b>, add every node_t in its family (including the
- * node itself</b>) to <b>sl</b>.
+ * node itself!) to <b>sl</b>.
*
* Note the type mismatch: This function takes a routerinfo, but adds nodes
* to the smartlist!