From ccb5d1f7b205821fae2924dd1b2bda91add277d1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 10 Feb 2016 23:05:08 +0000 Subject: Properly set `flag` in fuzzy replies Found by: coverity scan --- src/fuzzy_storage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fuzzy_storage.c') 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, -- cgit v1.2.3