mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +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;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Like fmt_addr(), but for IPv4 addresses. Also not thread-safe, also
|
/** Like fmt_addr(), but takes <b>addr</b> as a host-order IPv4
|
||||||
* clobbers its return buffer on repeated calls. */
|
* addresses. Also not thread-safe, also clobbers its return buffer on
|
||||||
|
* repeated calls. */
|
||||||
const char *
|
const char *
|
||||||
fmt_addr32(uint32_t addr)
|
fmt_addr32(uint32_t addr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user