mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
clarify fmt_addr32 documentation to note that the address is in host-order
This commit is contained in:
parent
441d90a8f9
commit
4dbd8ba008
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user