diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-15 18:04:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-15 18:04:07 -0400 |
commit | 4dbd8ba008de7eea623e3b760a6c43040d145a8d (patch) | |
tree | 17b71a425a199c97c628ef1cb87c3960cc81ac98 /src/common | |
parent | 441d90a8f9ed259dc2d84ffc52eeab1b934fd848 (diff) | |
download | tor-4dbd8ba008de7eea623e3b760a6c43040d145a8d.tar tor-4dbd8ba008de7eea623e3b760a6c43040d145a8d.tar.gz |
clarify fmt_addr32 documentation to note that the address is in host-order
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/address.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/address.c b/src/common/address.c index 323e0eeac..a3f12ac07 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -925,8 +925,9 @@ fmt_addr(const tor_addr_t *addr) return buf; } -/** Like fmt_addr(), but for IPv4 addresses. Also not thread-safe, also - * clobbers its return buffer on repeated calls. */ +/** Like fmt_addr(), but takes <b>addr</b> as a host-order IPv4 + * addresses. Also not thread-safe, also clobbers its return buffer on + * repeated calls. */ const char * fmt_addr32(uint32_t addr) { |