]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Dec 2019 18:56:27 +0000 (18:56 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Dec 2019 18:56:27 +0000 (18:56 +0000)
src/libserver/url.c

index 6f5b767c4e27cf5759dec9178ca7f9c3bbf7d281..54cfbf546358b9919c6c6f2f4ab57f337296b1f3 100644 (file)
@@ -3048,8 +3048,8 @@ rspamd_url_text_part_callback (struct rspamd_url *url, gsize start_offset,
                if (cbd->task->cfg && cbd->task->cfg->max_lua_urls > 0) {
                        if (g_hash_table_size (target_tbl) > cbd->task->cfg->max_lua_urls) {
                                msg_err_task ("part has too many URLs, we cannot process more: "
-                                                         "%z urls extracted ",
-                                               g_hash_table_size (target_tbl));
+                                                         "%d urls extracted ",
+                                               (guint)g_hash_table_size (target_tbl));
 
                                return FALSE;
                        }