]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix type in stat output.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Sep 2014 08:53:18 +0000 (09:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Sep 2014 08:53:18 +0000 (09:53 +0100)
src/client/rspamc.c

index 93358df6d5c9e8f188842fdb2a09dda7a29b6b34..f347eabd1d66210c29b9741dd32a51794d7ccf33 100644 (file)
@@ -628,11 +628,9 @@ rspamc_stat_actions (ucl_object_t *obj, GString *out, gint64 scanned)
 
        spam = ucl_object_toint (ucl_object_find_key (obj, "spam_count"));
        ham = ucl_object_toint (ucl_object_find_key (obj, "ham_count"));
-       rspamd_printf_gstring (out, "Messages treated as spam: %" G_GINT64_FORMAT
-               ", %.2f%%\n", spam,
+       rspamd_printf_gstring (out, "Messages treated as spam: %L, %.2f%%\n", spam,
                (gdouble)spam / (gdouble)scanned);
-       rspamd_printf_gstring (out, "Messages treated as ham: %" G_GINT64_FORMAT
-               ", %.2f%%\n", ham,
+       rspamd_printf_gstring (out, "Messages treated as ham: %L, %.2f%%\n", ham,
                (gdouble)ham / (gdouble)scanned);
 }