]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 22 Nov 2016 17:26:22 +0000 (17:26 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 22 Nov 2016 17:26:22 +0000 (17:26 +0000)
src/libutil/addr.c

index 0bc7aa85a14cabedf28d00d01887e2ee506f186e..471d5d574b661d3cebd8e24a49f6356c933e73bd 100644 (file)
@@ -729,8 +729,7 @@ rspamd_inet_address_to_string_pretty (const rspamd_inet_addr_t *addr)
                break;
        case AF_UNIX:
                rspamd_snprintf (addr_str, sizeof (addr_str), "unix:%s",
-                               rspamd_inet_address_to_string (addr),
-                               rspamd_inet_address_get_port (addr));
+                               rspamd_inet_address_to_string (addr));
                break;
        }