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
fd5b608d
Commit
fd5b608d
authored
Aug 10, 2018
by
Simon Morlat
Browse files
Fix bad condition for printing a warning in lpconfig.
parent
84aabf73
Pipeline
#244
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coreapi/lpconfig.c
coreapi/lpconfig.c
+2
-2
No files found.
coreapi/lpconfig.c
View file @
fd5b608d
...
...
@@ -436,13 +436,13 @@ static int _linphone_config_init_from_files(LinphoneConfig *lpconfig, const char
#ifdef RENAME_REQUIRES_NONEXISTENT_NEW_PATH
if
(
lpconfig
->
pFile
==
NULL
){
lpconfig
->
pFile
=
bctbx_file_open
(
lpconfig
->
g_bctbx_vfs
,
lpconfig
->
tmpfilename
,
"r+"
);
if
(
lpconfig
->
pFile
=
=
NULL
){
if
(
lpconfig
->
pFile
!
=
NULL
){
ms_warning
(
"Could not open %s but %s works, app may have crashed during last sync."
,
lpconfig
->
filename
,
lpconfig
->
tmpfilename
);
}
}
#endif
if
(
lpconfig
->
pFile
!=
NULL
){
linphone_config_parse
(
lpconfig
,
lpconfig
->
pFile
);
linphone_config_parse
(
lpconfig
,
lpconfig
->
pFile
);
bctbx_file_close
(
lpconfig
->
pFile
);
lpconfig
->
pFile
=
NULL
;
lpconfig
->
modified
=
FALSE
;
...
...
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