[tor-commits] [tor/master] Resolve some markup complaints from doxygen

nickm at torproject.org nickm at torproject.org
Tue Jun 5 00:03:22 UTC 2012


commit 361260ff8f31b88946e50e96bd9f5d082264f02c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jun 4 19:56:16 2012 -0400

    Resolve some markup complaints from doxygen
---
 src/common/tortls.c    |    2 +-
 src/or/config.c        |    4 ++--
 src/or/connection_or.c |    6 +++---
 src/or/routerlist.c    |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index cc49310..a069ebf 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 5f5960f..81d77c3 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 6a2f243..fbab666 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 db0844d..5586439 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!





More information about the tor-commits mailing list