diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-10 23:05:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-10 23:05:08 +0000 |
commit | ccb5d1f7b205821fae2924dd1b2bda91add277d1 (patch) | |
tree | ecf2aa6fb09748b6882bacba5be786114b049bb3 /src/fuzzy_storage.c | |
parent | 4857227f111446954da3b202d7318feb6fba705c (diff) | |
download | rspamd-ccb5d1f7b205821fae2924dd1b2bda91add277d1.tar.gz rspamd-ccb5d1f7b205821fae2924dd1b2bda91add277d1.zip |
Properly set `flag` in fuzzy replies
Found by: coverity scan
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 71dfda2ef..c4814c6d4 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -485,6 +485,7 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session) reply: result.tag = cmd->tag; + result.flag = cmd->flag; memcpy (&session->reply.rep, &result, sizeof (result)); rspamd_fuzzy_update_stats (session->ctx, |