diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-13 18:12:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-13 18:12:30 +0100 |
commit | f62f3e497c91eda02402966a990ec14ab60af66a (patch) | |
tree | a5cdeec1645219ee140dce82d9cb75ef74125d08 /src/libserver/fuzzy_backend_sqlite.c | |
parent | 91dfff252afea8e37a4a0c10c723662fd4a6aa98 (diff) | |
download | rspamd-f62f3e497c91eda02402966a990ec14ab60af66a.tar.gz rspamd-f62f3e497c91eda02402966a990ec14ab60af66a.zip |
[Minor] Fix versions when processing fuzzy updates
Diffstat (limited to 'src/libserver/fuzzy_backend_sqlite.c')
-rw-r--r-- | src/libserver/fuzzy_backend_sqlite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/fuzzy_backend_sqlite.c b/src/libserver/fuzzy_backend_sqlite.c index 834d274c8..1fa22f6a7 100644 --- a/src/libserver/fuzzy_backend_sqlite.c +++ b/src/libserver/fuzzy_backend_sqlite.c @@ -1027,7 +1027,7 @@ gint rspamd_fuzzy_backend_sqlite_version (struct rspamd_fuzzy_backend_sqlite *backend, const gchar *source) { - gint ret = -1; + gint ret = 0; if (backend) { if (rspamd_fuzzy_backend_sqlite_run_stmt (backend, FALSE, |