summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-19 23:38:48 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-19 23:38:48 +0000
commitbd51b9ab3c571adfc207d5eb0c069dd3363d97b0 (patch)
treebcaf49e31aae2d8866aaa87a7f969453b40b6b68 /src
parent4edf143aaabd00f9500c94973a347829ef1741a7 (diff)
downloadrspamd-bd51b9ab3c571adfc207d5eb0c069dd3363d97b0.tar.gz
rspamd-bd51b9ab3c571adfc207d5eb0c069dd3363d97b0.zip
Forgot to replace.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/fuzzy_backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c
index aa011fc92..6f0439a9d 100644
--- a/src/libserver/fuzzy_backend.c
+++ b/src/libserver/fuzzy_backend.c
@@ -294,8 +294,8 @@ rspamd_fuzzy_backend_open_db (const gchar *path, GError **err)
if ((rc = sqlite3_open_v2 (path, &sqlite,
SQLITE_OPEN_READWRITE|SQLITE_OPEN_NOMUTEX, NULL)) != SQLITE_OK) {
g_set_error (err, rspamd_fuzzy_backend_quark (),
- rc, "Cannot open sqlite db %s: %s",
- path, sqlite3_errstr (rc));
+ rc, "Cannot open sqlite db %s: %d",
+ path, rc);
return NULL;
}