From: Vsevolod Stakhov Date: Wed, 10 Feb 2016 23:05:08 +0000 (+0000) Subject: Properly set `flag` in fuzzy replies X-Git-Tag: 1.1.4~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=550ee7a4765106bb1aa315273218e3b8c5b99acc;p=rspamd.git Properly set `flag` in fuzzy replies Found by: coverity scan --- diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index a4e4b8a26..8d02732fa 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -484,6 +484,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,