commit 580873f: [Minor] Fix format string
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Dec 23 19:28:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-23 18:56:27 +0000
URL: https://github.com/rspamd/rspamd/commit/580873ff0beb7222ae015da5060cfa8b1c8884c0
[Minor] Fix format string
---
src/libserver/url.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 6f5b767c4..54cfbf546 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -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;
}
More information about the Commits
mailing list