commit b7108d6: [Minor] Fuzzy_storage: properly set reply on blocked
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Dec 27 18:28:04 UTC 2018
Author: Vsevolod Stakhov
Date: 2018-12-08 14:46:53 +0000
URL: https://github.com/rspamd/rspamd/commit/b7108d649b8b7b65b6894df2e32383ed3667221e
[Minor] Fuzzy_storage: properly set reply on blocked
---
src/fuzzy_storage.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 7fa821e9b..2d53d969b 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -1116,6 +1116,8 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session)
else {
result.v1.value = 403;
result.v1.prob = 0.0;
+ result.v1.flag = 0;
+ rspamd_fuzzy_make_reply (cmd, &result, session, encrypted, is_shingle);
}
}
else if (cmd->cmd == FUZZY_STAT) {
More information about the Commits
mailing list