From: Vsevolod Stakhov Date: Thu, 11 Sep 2014 11:35:10 +0000 (+0100) Subject: Add statfile size to the output. X-Git-Tag: 0.7.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d832691a9d484f0e6ab9d54e88088a6f5c187c3;p=thirdparty%2Frspamd.git Add statfile size to the output. --- diff --git a/src/controller.c b/src/controller.c index 1eb8f95224..d27a2d1a1f 100644 --- a/src/controller.c +++ b/src/controller.c @@ -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 (