]> source.dussan.org Git - rspamd.git/commitdiff
Forgot to replace.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Dec 2014 23:38:48 +0000 (23:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Dec 2014 23:38:48 +0000 (23:38 +0000)
src/libserver/fuzzy_backend.c

index aa011fc9245f08a7e3c7d33190215332316f7319..6f0439a9de4bb8531f3b403dc00d693a44014816 100644 (file)
@@ -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;
        }