summaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-25 11:16:18 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-25 11:27:43 -0400
commitd5e11f21cc98f4e42b05bdddb9e3316072ec0bef (patch)
tree056208ee2c9a9bf76ab429235294feea2288f420 /src/common/address.c
parentc3dd2e3d9e1b307862313293f03554807649b5d5 (diff)
downloadtor-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/address.c')
-rw-r--r--src/common/address.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 69049fa0af..3ecc11b90f 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -182,7 +182,7 @@ tor_addr_make_unspec(tor_addr_t *a)
a->family = AF_UNSPEC;
}
-/** Set address <a>a</b> to the null address in address family <b>family</b>.
+/** Set address <b>a</b> to the null address in address family <b>family</b>.
* The null address for AF_INET is 0.0.0.0. The null address for AF_INET6 is
* [::]. AF_UNSPEC is all null. */
void
@@ -1463,8 +1463,8 @@ is_internal_IP(uint32_t ip, int for_listening)
* allocated string holding the address portion and *<b>port_out</b>
* to the port.
*
- * Don't do DNS lookups and don't allow domain names in the <ip> field.
- * Don't accept <b>addrport</b> of the form "<ip>" or "<ip>:0".
+ * Don't do DNS lookups and don't allow domain names in the "ip" field.
+ * Don't accept <b>addrport</b> of the form "ip" or "ip:0".
*
* Return 0 on success, -1 on failure. */
int