[tor-commits] [tor/master] Doxygen: fix warnings about mismatched HTML tags.

nickm at torproject.org nickm at torproject.org
Wed Oct 16 13:11:54 UTC 2019


commit 98735c40b6f503b296f7e6fefae36da24b33616e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 16 08:25:10 2019 -0400

    Doxygen: fix warnings about mismatched HTML tags.
---
 src/core/mainloop/periodic.c           | 2 +-
 src/feature/client/entrynodes.c        | 2 +-
 src/feature/dircache/consdiffmgr.c     | 2 +-
 src/feature/dircommon/consdiff.c       | 2 +-
 src/feature/dirparse/microdesc_parse.c | 2 +-
 src/feature/keymgt/loadkey.c           | 2 +-
 src/lib/crypt_ops/crypto_dh_openssl.c  | 2 +-
 src/lib/encoding/pem.c                 | 2 +-
 src/lib/evloop/compat_libevent.c       | 2 +-
 src/lib/net/address.c                  | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/core/mainloop/periodic.c b/src/core/mainloop/periodic.c
index dbc4553a7..51a0165d1 100644
--- a/src/core/mainloop/periodic.c
+++ b/src/core/mainloop/periodic.c
@@ -39,7 +39,7 @@ static const int MAX_INTERVAL = 10 * 365 * 86400;
 
 /**
  * Global list of periodic events that have been registered with
- * <b>periodic_event_register</a>.
+ * <b>periodic_event_register</b>.
  **/
 static smartlist_t *the_periodic_events = NULL;
 
diff --git a/src/feature/client/entrynodes.c b/src/feature/client/entrynodes.c
index 36b575ef2..4e61899ec 100644
--- a/src/feature/client/entrynodes.c
+++ b/src/feature/client/entrynodes.c
@@ -1038,7 +1038,7 @@ get_max_sample_size(guard_selection_t *gs,
  * Return a smartlist of the all the guards that are not currently
  * members of the sample (GUARDS - SAMPLED_GUARDS).  The elements of
  * this list are node_t pointers in the non-bridge case, and
- * bridge_info_t pointers in the bridge case.  Set *<b>n_guards_out/b>
+ * bridge_info_t pointers in the bridge case.  Set *<b>n_guards_out</b>
  * to the number of guards that we found in GUARDS, including those
  * that were already sampled.
  */
diff --git a/src/feature/dircache/consdiffmgr.c b/src/feature/dircache/consdiffmgr.c
index bc02a33e3..058ff1f50 100644
--- a/src/feature/dircache/consdiffmgr.c
+++ b/src/feature/dircache/consdiffmgr.c
@@ -1293,7 +1293,7 @@ typedef struct compressed_result_t {
 
 /**
  * Compress the bytestring <b>input</b> of length <b>len</b> using the
- * <n>n_methods</b> compression methods listed in the array <b>methods</b>.
+ * <b>n_methods</b> compression methods listed in the array <b>methods</b>.
  *
  * For each successful compression, set the fields in the <b>results_out</b>
  * array in the position corresponding to the compression method. Use
diff --git a/src/feature/dircommon/consdiff.c b/src/feature/dircommon/consdiff.c
index 8e93953f7..2c4d3a19c 100644
--- a/src/feature/dircommon/consdiff.c
+++ b/src/feature/dircommon/consdiff.c
@@ -570,7 +570,7 @@ find_next_router_line(const smartlist_t *cons,
 /** Pre-process a consensus in <b>cons</b> (represented as a list of cdline_t)
  * to remove the signatures from it.  If the footer is removed, return a
  * cdline_t containing a delete command to delete the footer, allocated in
- * <b>area</>.  If no footer is removed, return NULL.
+ * <b>area</b>.  If no footer is removed, return NULL.
  *
  * We remove the signatures here because they are not themselves signed, and
  * as such there might be different encodings for them.
diff --git a/src/feature/dirparse/microdesc_parse.c b/src/feature/dirparse/microdesc_parse.c
index 4bb4db782..e526a355c 100644
--- a/src/feature/dirparse/microdesc_parse.c
+++ b/src/feature/dirparse/microdesc_parse.c
@@ -164,7 +164,7 @@ microdesc_extract_body(microdesc_t *md,
 
 /**
  * Parse a microdescriptor which begins at <b>s</b> and ends at
- * <b>start_of_next_microdesc.  Store its fields into <b>md</b>.  Use
+ * <b>start_of_next_microdesc</b>.  Store its fields into <b>md</b>.  Use
  * <b>where</b> for generating log information.  If <b>allow_annotations</b>
  * is true, then one or more annotations may precede the microdescriptor body
  * proper.  Use <b>area</b> for memory management, clearing it when done.
diff --git a/src/feature/keymgt/loadkey.c b/src/feature/keymgt/loadkey.c
index a8cbf0e58..5c1e6353b 100644
--- a/src/feature/keymgt/loadkey.c
+++ b/src/feature/keymgt/loadkey.c
@@ -33,7 +33,7 @@
 /** Try to read an RSA key from <b>fname</b>.  If <b>fname</b> doesn't exist
  * and <b>generate</b> is true, create a new RSA key and save it in
  * <b>fname</b>.  Return the read/created key, or NULL on error.  Log all
- * errors at level <b>severity</b>. If <b>created_out/b> is non-NULL and a
+ * errors at level <b>severity</b>. If <b>created_out</b> is non-NULL and a
  * new key was created, set *<b>created_out</b> to true.
  */
 crypto_pk_t *
diff --git a/src/lib/crypt_ops/crypto_dh_openssl.c b/src/lib/crypt_ops/crypto_dh_openssl.c
index 8ae97373e..e7f22d749 100644
--- a/src/lib/crypt_ops/crypto_dh_openssl.c
+++ b/src/lib/crypt_ops/crypto_dh_openssl.c
@@ -103,7 +103,7 @@ crypto_validate_dh_params(const BIGNUM *p, const BIGNUM *g)
 #endif /* 0 */
 
 /**
- * Helper: convert <b>hex<b> to a bignum, and return it.  Assert that the
+ * Helper: convert <b>hex</b> to a bignum, and return it.  Assert that the
  * operation was successful.
  */
 static BIGNUM *
diff --git a/src/lib/encoding/pem.c b/src/lib/encoding/pem.c
index 24b238b13..95f93ebef 100644
--- a/src/lib/encoding/pem.c
+++ b/src/lib/encoding/pem.c
@@ -42,7 +42,7 @@ pem_encoded_size(size_t src_len, const char *objtype)
 
 /**
  * PEM-encode the <b>srclen</b>-byte object at <b>src</b> into the
- * <b>destlen<\b>-byte buffer at <b>dest</b>, tagging it with <b>objtype</b>.
+ * <b>destlen</b>-byte buffer at <b>dest</b>, tagging it with <b>objtype</b>.
  * Return 0 on success and -1 on failure.
  */
 int
diff --git a/src/lib/evloop/compat_libevent.c b/src/lib/evloop/compat_libevent.c
index 91eacb993..500c74831 100644
--- a/src/lib/evloop/compat_libevent.c
+++ b/src/lib/evloop/compat_libevent.c
@@ -422,7 +422,7 @@ mainloop_event_activate(mainloop_event_t *event)
  *
  * If the event is scheduled for a different time, cancel it and run
  * after this delay instead.  If the event is currently pending to run
- * <em>now</b>, has no effect.
+ * <b>now</b>, has no effect.
  *
  * Do not call this function with <b>tv</b> == NULL -- use
  * mainloop_event_activate() instead.
diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index 0a2c84caf..dbff3bbb0 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -2001,7 +2001,7 @@ tor_addr_port_new(const tor_addr_t *addr, uint16_t port)
   return ap;
 }
 
-/** Return true iff <a>a</b> and <b>b</b> are the same address and port */
+/** Return true iff <b>a</b> and <b>b</b> are the same address and port */
 int
 tor_addr_port_eq(const tor_addr_port_t *a,
                  const tor_addr_port_t *b)





More information about the tor-commits mailing list