From: Nick Mathewson Date: Wed, 16 Oct 2019 12:25:10 +0000 (-0400) Subject: Doxygen: fix warnings about mismatched HTML tags. X-Git-Tag: tor-0.4.3.1-alpha~328 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98735c40b6f503b296f7e6fefae36da24b33616e;p=thirdparty%2Ftor.git Doxygen: fix warnings about mismatched HTML tags. --- diff --git a/src/core/mainloop/periodic.c b/src/core/mainloop/periodic.c index dbc4553a73..51a0165d19 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 - * periodic_event_register. + * periodic_event_register. **/ static smartlist_t *the_periodic_events = NULL; diff --git a/src/feature/client/entrynodes.c b/src/feature/client/entrynodes.c index 36b575ef20..4e61899ecd 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 *n_guards_out/b> + * bridge_info_t pointers in the bridge case. Set *n_guards_out * 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 bc02a33e30..058ff1f500 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 input of length len using the - * n_methods compression methods listed in the array methods. + * n_methods compression methods listed in the array methods. * * For each successful compression, set the fields in the results_out * 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 8e93953f73..2c4d3a19c0 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 cons (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 - * area. If no footer is removed, return NULL. + * area. 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 4bb4db7821..e526a355c1 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 s and ends at - * start_of_next_microdesc. Store its fields into md. Use + * start_of_next_microdesc. Store its fields into md. Use * where for generating log information. If allow_annotations * is true, then one or more annotations may precede the microdescriptor body * proper. Use area for memory management, clearing it when done. diff --git a/src/feature/keymgt/loadkey.c b/src/feature/keymgt/loadkey.c index a8cbf0e582..5c1e6353b8 100644 --- a/src/feature/keymgt/loadkey.c +++ b/src/feature/keymgt/loadkey.c @@ -33,7 +33,7 @@ /** Try to read an RSA key from fname. If fname doesn't exist * and generate is true, create a new RSA key and save it in * fname. Return the read/created key, or NULL on error. Log all - * errors at level severity. If created_out/b> is non-NULL and a + * errors at level severity. If created_out is non-NULL and a * new key was created, set *created_out 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 8ae97373e8..e7f22d749b 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 hex to a bignum, and return it. Assert that the + * Helper: convert hex 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 24b238b130..95f93ebeff 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 srclen-byte object at src into the - * destlen<\b>-byte buffer at dest, tagging it with objtype. + * destlen-byte buffer at dest, tagging it with objtype. * 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 91eacb9938..500c74831c 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 - * now, has no effect. + * now, has no effect. * * Do not call this function with tv == NULL -- use * mainloop_event_activate() instead. diff --git a/src/lib/net/address.c b/src/lib/net/address.c index 0a2c84caf2..dbff3bbb0d 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 and b are the same address and port */ +/** Return true iff a and b are the same address and port */ int tor_addr_port_eq(const tor_addr_port_t *a, const tor_addr_port_t *b)