commit 66fd827: [Minor] Fix format string for size_t

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jun 2 20:07:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-06-02 21:00:07 +0100
URL: https://github.com/rspamd/rspamd/commit/66fd827632f1a5f0bbcdc91e3791e6f62856888d (HEAD -> master)

[Minor] Fix format string for size_t

---
 src/libmime/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmime/message.c b/src/libmime/message.c
index 4bdeb6612..684971cd5 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -696,7 +696,7 @@ rspamd_check_gtube (struct rspamd_task *task, struct rspamd_mime_text_part *part
 				task->flags |= RSPAMD_TASK_FLAG_SKIP;
 				task->flags |= RSPAMD_TASK_FLAG_GTUBE;
 				msg_info_task (
-						"gtube %s pattern has been found in part of length %ud",
+						"gtube %s pattern has been found in part of length %uz",
 						rspamd_action_to_str (act),
 						part->utf_content.len);
 			}


More information about the Commits mailing list