mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Tweak format string
This commit is contained in:
parent
a5d28bf88f
commit
7a004fce8d
1 changed files with 1 additions and 1 deletions
|
@ -2018,7 +2018,7 @@ tor_dup_ip(uint32_t addr)
|
||||||
in.s_addr = htonl(addr);
|
in.s_addr = htonl(addr);
|
||||||
ip_str = tor_inet_ntop(AF_INET, &in, buf, sizeof(buf));
|
ip_str = tor_inet_ntop(AF_INET, &in, buf, sizeof(buf));
|
||||||
|
|
||||||
tor_assertf_nonfatal(ip_str, "Failed to duplicate IP %04X", addr);
|
tor_assertf_nonfatal(ip_str, "Failed to duplicate IP %08X", addr);
|
||||||
if (ip_str)
|
if (ip_str)
|
||||||
return tor_strdup(buf);
|
return tor_strdup(buf);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue