]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix printing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Mar 2022 20:30:41 +0000 (20:30 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Mar 2022 20:30:41 +0000 (20:30 +0000)
src/controller.c

index dd11b337ca94f328d2738cb4977de729ed199300..7531080c218cb505806522443ec31ad5d57c45a9 100644 (file)
@@ -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)));
 }