]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Tweak format string
authorrl1987 <rl1987@users.noreply.github.com>
Thu, 21 May 2020 11:26:08 +0000 (14:26 +0300)
committerrl1987 <rl1987@users.noreply.github.com>
Thu, 21 May 2020 11:26:08 +0000 (14:26 +0300)
src/lib/net/address.c

index b24fe6c91e4db8bd67a744249b7bc5523e05f88e..d99a1795f2cda79c5c653bb90eb97fa8c11b8ae3 100644 (file)
@@ -2018,7 +2018,7 @@ tor_dup_ip(uint32_t addr)
   in.s_addr = htonl(addr);
   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)
     return tor_strdup(buf);