]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add statfile size to the output.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 11 Sep 2014 11:35:10 +0000 (12:35 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 11 Sep 2014 11:35:10 +0000 (12:35 +0100)
src/controller.c

index 1eb8f9522423daa2b79db92523500e1752feb613..d27a2d1a1fe4ae40c1b3e1cf21b1dca8307de1d5 100644 (file)
@@ -1366,6 +1366,8 @@ rspamd_controller_handle_stat_common (
                                }
                                ucl_object_insert_key (obj, ucl_object_fromint (
                                                rev),   "revision", 0, false);
+                               ucl_object_insert_key (obj, ucl_object_fromint (
+                                               st->size),      "size", 0, false);
                                ucl_object_insert_key (obj, ucl_object_fromint (
                                                used),  "used",         0, false);
                                ucl_object_insert_key (obj, ucl_object_fromint (