]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Copy&paste error
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 28 Feb 2020 16:43:42 +0000 (16:43 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 28 Feb 2020 16:43:42 +0000 (16:43 +0000)
src/rspamadm/configdump.c

index 8c9c027244a3ac98f4060f493f1abeb2c666c6ce..90f75148769ba6091a3396c09b2004b1c720a38f 100644 (file)
@@ -331,7 +331,7 @@ rspamadm_configdump (gint argc, gchar **argv, const struct rspamadm_command *cmd
                                                "one_shot", strlen ("one_shot"), false);
                                ucl_object_insert_key (gr_ucl,
                                                ucl_object_fromdouble (gr->max_score),
-                                               "max_score", strlen ("one_shot"), false);
+                                               "max_score", strlen ("max_score"), false);
                                ucl_object_insert_key (gr_ucl,
                                                ucl_object_fromstring (gr->description),
                                                "description", strlen ("description"), false);