fixed sqlite database path
authorMartin Willi <martin@strongswan.org>
Tue, 2 Oct 2007 11:55:19 +0000 (11:55 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 2 Oct 2007 11:55:19 +0000 (11:55 -0000)
src/charon/config/backends/sqlite_backend.c

index 9ceed9b..857dd83 100644 (file)
@@ -296,9 +296,9 @@ backend_t *backend_create(void)
        this->public.backend.is_writeable = (bool(*) (backend_t*))is_writeable;
        this->public.backend.destroy = (void (*)(backend_t*))destroy;
        
        this->public.backend.is_writeable = (bool(*) (backend_t*))is_writeable;
        this->public.backend.destroy = (void (*)(backend_t*))destroy;
        
-       if (sqlite3_open(IPSEC_DIR "/sqlite.db", &this->db) != SQLITE_OK)
+       if (sqlite3_open(IPSEC_DIR "/manager.db", &this->db) != SQLITE_OK)
        {
        {
-               DBG1(DBG_CFG, "opening SQLite database '" IPSEC_DIR "/sqlite.db' failed.");
+               DBG1(DBG_CFG, "opening SQLite database '" IPSEC_DIR "/manager.db' failed.");
                destroy(this);
                return NULL;
        }
                destroy(this);
                return NULL;
        }