diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-25 11:16:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-25 11:27:43 -0400 |
commit | d5e11f21cc98f4e42b05bdddb9e3316072ec0bef (patch) | |
tree | 056208ee2c9a9bf76ab429235294feea2288f420 /src/common/util.c | |
parent | c3dd2e3d9e1b307862313293f03554807649b5d5 (diff) | |
download | tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.tar.gz tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.zip |
Fix warnings from doxygen
Most of these are simple. The only nontrivial part is that our
pattern for using ENUM_BF was confusing doxygen by making declarations
that didn't look like declarations.
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index 3c2f6643ad..a0adb15ffe 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -898,8 +898,8 @@ tor_digest_is_zero(const char *digest) return tor_memeq(digest, ZERO_DIGEST, DIGEST_LEN); } -/** Return true if <b>string</b> is a valid '<key>=[<value>]' string. - * <value> is optional, to indicate the empty string. Log at logging +/** Return true if <b>string</b> is a valid 'key=[value]' string. + * "value" is optional, to indicate the empty string. Log at logging * <b>severity</b> if something ugly happens. */ int string_is_key_value(int severity, const char *string) @@ -3026,7 +3026,7 @@ tor_vsscanf(const char *buf, const char *pattern, va_list ap) /** Minimal sscanf replacement: parse <b>buf</b> according to <b>pattern</b> * and store the results in the corresponding argument fields. Differs from * sscanf in that: - * <ul><li>It only handles %u, %lu, %x, %lx, %<NUM>s, %d, %ld, %lf, and %c. + * <ul><li>It only handles %u, %lu, %x, %lx, %[NUM]s, %d, %ld, %lf, and %c. * <li>It only handles decimal inputs for %lf. (12.3, not 1.23e1) * <li>It does not handle arbitrarily long widths. * <li>Numbers do not consume any space characters. |