aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-05 20:30:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-05 20:30:41 +0000
commit34d47efef8978b93ca87d798b78f84f58254dd91 (patch)
tree90f7a3b33e9259d1b48941460f3acf9aae289f98 /src/controller.c
parentfc9cac29db15b264b02afb1e600793029ad6af47 (diff)
downloadrspamd-34d47efef8978b93ca87d798b78f84f58254dd91.tar.gz
rspamd-34d47efef8978b93ca87d798b78f84f58254dd91.zip
[Minor] Fix printing
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
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)));
}