forked from mirrors/linphone-iphone
Fix crach on windows: avoid creating message storage database when the SQLite file cannot be opened
This commit is contained in:
parent
948ae319a4
commit
2e9036f365
1 changed files with 1 additions and 0 deletions
|
|
@ -591,6 +591,7 @@ void linphone_core_message_storage_init(LinphoneCore *lc){
|
|||
errmsg=sqlite3_errmsg(db);
|
||||
ms_error("Error in the opening: %s.\n", errmsg);
|
||||
sqlite3_close(db);
|
||||
return;
|
||||
}
|
||||
|
||||
linphone_message_storage_activate_debug(db, lc->debug_storage);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue