aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-24 16:53:55 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-24 16:53:55 +0000
commitc4080fe38016bc3653dadf3947a84d6590f3ba10 (patch)
tree548c7c8d669aeedecb042685bb70255b79e25c4d
parentebf20c3d70ded2760027947f8918473fe2662e40 (diff)
downloadrspamd-c4080fe38016bc3653dadf3947a84d6590f3ba10.tar.gz
rspamd-c4080fe38016bc3653dadf3947a84d6590f3ba10.zip
Save flag in fuzzy reply.
-rw-r--r--src/fuzzy_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 6c3ce5c71..3e96ae4f9 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -200,6 +200,7 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session)
session->ctx->expire);
}
else {
+ rep.flag = session->cmd->flag;
if (rspamd_fuzzy_check_client (session)) {
if (session->cmd->cmd == FUZZY_WRITE) {
res = rspamd_fuzzy_backend_add (session->ctx->backend,