From 2cdedebd818ccaa635d671bcb4b2dc116b1a6d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Fri, 2 Oct 2015 17:41:18 +0200 Subject: [PATCH] Fix compilation error --- coreapi/message_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/message_storage.c b/coreapi/message_storage.c index db6c7e1d2..f1730e925 100644 --- a/coreapi/message_storage.c +++ b/coreapi/message_storage.c @@ -635,7 +635,7 @@ static int _linphone_sqlite3_open(const char *db_file, sqlite3 **db) { // Some platforms do not provide a way to create temporary files which are needed // for transactions... so we work in memory only // see http ://www.sqlite.org/compile.html#temp_store - ret = sqlite3_exec(db, "PRAGMA temp_store=MEMORY", NULL, NULL, &errmsg); + ret = sqlite3_exec(*db, "PRAGMA temp_store=MEMORY", NULL, NULL, &errmsg); if (ret != SQLITE_OK) { ms_error("Cannot set sqlite3 temporary store to memory: %s.", errmsg); sqlite3_free(errmsg);