mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix build with Visual Studio.
This commit is contained in:
parent
db380ed304
commit
f3a4fc6b4a
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ LpConfig *lp_config_new_with_factory(const char *config_filename, const char *fa
|
|||
LpConfig *lpconfig=lp_new0(LpConfig,1);
|
||||
lpconfig->refcnt=1;
|
||||
if (config_filename!=NULL){
|
||||
if(access(config_filename, F_OK) == 0) {
|
||||
if(ortp_file_exist(config_filename) == 0) {
|
||||
lpconfig->filename=lp_realpath(config_filename, NULL);
|
||||
if(lpconfig->filename == NULL) {
|
||||
ms_error("Could not find the real path of %s: %s", config_filename, strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue