diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-22 16:55:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-22 16:55:37 +0000 |
commit | 99b2488c7a34958b1cdf995f03965488fa2ed090 (patch) | |
tree | a2df20a270e606aba9ec3a790e43e0b926da1e68 /src/fuzzy_storage.c | |
parent | a7ff0a1da4682e42ceba957f3feb0697cda7519b (diff) | |
download | rspamd-99b2488c7a34958b1cdf995f03965488fa2ed090.tar.gz rspamd-99b2488c7a34958b1cdf995f03965488fa2ed090.zip |
Fix initialization issues for some variables.
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 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 */ |