commit a819525: [Minor] Fix misprint

Vsevolod Stakhov vsevolod at rspamd.com
Mon Jan 16 08:42:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-01-16 08:40:01 +0000
URL: https://github.com/rspamd/rspamd/commit/a819525203b1e5f0628c4c529cc69aa7db888dcd (HEAD -> master)

[Minor] Fix misprint

---
 src/fuzzy_storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 99a5a3bed..3d2d7497f 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -1878,7 +1878,7 @@ rspamd_fuzzy_storage_stat_key (struct fuzzy_key_stat *key_stat)
 		"checked_per_hour", 0, false);
 	ucl_object_insert_key (res, ucl_object_fromint (key_stat->matched),
 		"matched", 0, false);
-	ucl_object_insert_key (res, ucl_object_fromdouble(key_stat->checked_ctr.mean),
+	ucl_object_insert_key (res, ucl_object_fromdouble(key_stat->matched_ctr.mean),
 		"matched_per_hour", 0, false);
 	ucl_object_insert_key (res, ucl_object_fromint (key_stat->added),
 		"added", 0, false);


More information about the Commits mailing list