aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/fuzzy_backend_sqlite.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-13 18:12:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-13 18:12:30 +0100
commitf62f3e497c91eda02402966a990ec14ab60af66a (patch)
treea5cdeec1645219ee140dce82d9cb75ef74125d08 /src/libserver/fuzzy_backend_sqlite.c
parent91dfff252afea8e37a4a0c10c723662fd4a6aa98 (diff)
downloadrspamd-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.c2
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,