]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix broken test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Mar 2019 18:17:41 +0000 (18:17 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Mar 2019 18:17:41 +0000 (18:17 +0000)
test/rspamd_upstream_test.c

index 668651c8f6cfd8f080e508af1013fc6a4d11198e..f9eb2bcfd5c49ea702c02f0985fcb1b3063a7f8e 100644 (file)
@@ -110,7 +110,7 @@ rspamd_upstream_test_func (void)
                next_addr = rspamd_upstream_addr_next (up);
                g_assert (rspamd_inet_address_get_af (addr) == AF_INET);
                g_assert (rspamd_inet_address_get_af (next_addr) == AF_INET);
-               g_assert (rspamd_inet_address_compare (addr, next_addr) != 0);
+               g_assert (rspamd_inet_address_compare (addr, next_addr, FALSE) != 0);
                addr = next_addr;
        }
        rspamd_upstreams_destroy (nls);