commit b6eeff7: [Minor] Fix format string
Vsevolod Stakhov
vsevolod at rspamd.com
Mon Jul 29 17:49:11 UTC 2024
Author: Vsevolod Stakhov
Date: 2023-11-21 15:38:50 +0000
URL: https://github.com/rspamd/rspamd/commit/b6eeff716ba8ef4b34b56b5246fa67b31fdaabfc
[Minor] Fix format string
---
src/controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/controller.c b/src/controller.c
index eb58db211..339cf1184 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -3066,7 +3066,7 @@ rspamd_controller_metrics_fin_task(void *ud)
g_hash_table_iter_init(&it, fuzzy_elts);
while (g_hash_table_iter_next(&it, NULL, (gpointer *) &entry)) {
if (entry->name) {
- rspamd_printf_fstring(&output, "rspamd_fuzzy_stat{storage=\"%s\"} %ud\n",
+ rspamd_printf_fstring(&output, "rspamd_fuzzy_stat{storage=\"%s\"} %uL\n",
entry->name, entry->fuzzy_cnt);
}
}
More information about the Commits
mailing list