From 99b2488c7a34958b1cdf995f03965488fa2ed090 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 22 Dec 2014 16:55:37 +0000 Subject: Fix initialization issues for some variables. --- 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 8c32b423a..3e7d13db5 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -295,6 +295,7 @@ accept_fuzzy_socket (gint fd, short what, void *arg) } else if ((guint)r >= sizeof (struct rspamd_fuzzy_cmd)) { /* Check shingles count sanity */ + session.legacy = FALSE; cmd = (struct rspamd_fuzzy_cmd *)buf; if (!rspamd_fuzzy_command_valid (cmd, r)) { /* Bad input */ -- cgit v1.2.3