From: Vsevolod Stakhov Date: Sat, 5 Mar 2022 20:30:41 +0000 (+0000) Subject: [Minor] Fix printing X-Git-Tag: 3.2~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34d47efef8978b93ca87d798b78f84f58254dd91;p=rspamd.git [Minor] Fix printing --- diff --git a/src/controller.c b/src/controller.c index dd11b337c..7531080c2 100644 --- a/src/controller.c +++ b/src/controller.c @@ -2799,7 +2799,7 @@ rspamd_controller_metrics_add_integer (rspamd_fstring_t **output, { rspamd_printf_fstring (output, "# HELP %s %s\n", name, description); rspamd_printf_fstring (output, "# TYPE %s %s\n", name, type); - rspamd_printf_fstring (output, "%s %L\n", + rspamd_printf_fstring (output, "%s %L\n", name, ucl_object_toint (ucl_object_lookup (top, ucl_key))); }