Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
2e9036f3
Commit
2e9036f3
authored
Feb 20, 2015
by
François Grisez
Browse files
Fix crach on windows: avoid creating message storage database when the SQLite file cannot be opened
parent
948ae319
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
coreapi/message_storage.c
coreapi/message_storage.c
+1
-0
No files found.
coreapi/message_storage.c
View file @
2e9036f3
...
@@ -591,6 +591,7 @@ void linphone_core_message_storage_init(LinphoneCore *lc){
...
@@ -591,6 +591,7 @@ void linphone_core_message_storage_init(LinphoneCore *lc){
errmsg
=
sqlite3_errmsg
(
db
);
errmsg
=
sqlite3_errmsg
(
db
);
ms_error
(
"Error in the opening: %s.
\n
"
,
errmsg
);
ms_error
(
"Error in the opening: %s.
\n
"
,
errmsg
);
sqlite3_close
(
db
);
sqlite3_close
(
db
);
return
;
}
}
linphone_message_storage_activate_debug
(
db
,
lc
->
debug_storage
);
linphone_message_storage_activate_debug
(
db
,
lc
->
debug_storage
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment