]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix numbers humanization in `rspamc stat`
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Jan 2016 21:43:33 +0000 (21:43 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Jan 2016 21:43:33 +0000 (21:43 +0000)
src/client/rspamc.c

index 963616daa6b3bca5124eb5d27f95f3b443b56d4f..2782f4d9a32467e558a35c3fbf25abac1e787abd 100644 (file)
@@ -829,7 +829,7 @@ rspamc_stat_statfile (const ucl_object_t *obj, GString *out)
        else {
                rspamd_printf_gstring (out, "Statfile: %s type: %s; ", symbol, type);
        }
-       rspamd_printf_gstring (out, "length: %HL; free blocks: %HL; total blocks: %HL; "
+       rspamd_printf_gstring (out, "length: %hL; free blocks: %hL; total blocks: %hL; "
                        "free: %.2f%%; learned: %L; users: %L; languages: %L\n",
                        size,
                        blocks - used_blocks, blocks,