diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-22 17:05:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-22 17:05:04 +0000 |
commit | 44ac52fb4400994a800ddd1ddcd11c96dc1e7084 (patch) | |
tree | 21f7e1293e595632453a686dbbd63e8e3e47a8ee /src/fuzzy_storage.c | |
parent | 99b2488c7a34958b1cdf995f03965488fa2ed090 (diff) | |
download | rspamd-44ac52fb4400994a800ddd1ddcd11c96dc1e7084.tar.gz rspamd-44ac52fb4400994a800ddd1ddcd11c96dc1e7084.zip |
Fix tagging.
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 3e7d13db5..6c3ce5c71 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -195,8 +195,6 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session) struct rspamd_fuzzy_reply rep = {0, 0, 0, 0.0}; gboolean res = FALSE; - rep.tag = session->cmd->tag; - if (session->cmd->cmd == FUZZY_CHECK) { rep = rspamd_fuzzy_backend_check (session->ctx->backend, session->cmd, session->ctx->expire); @@ -227,6 +225,7 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session) server_stat->fuzzy_hashes = rspamd_fuzzy_backend_count (session->ctx->backend); } + rep.tag = session->cmd->tag; rspamd_fuzzy_write_reply (session, &rep); } |