forked from mirrors/linphone-iphone
Merge branch 'master' of git.linphone.org:linphone into belle-sip
This commit is contained in:
commit
6702bf8a32
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ LpConfig * lp_config_new(const char *filename){
|
|||
if (filename!=NULL){
|
||||
ms_message("Using (r/w) config information from %s", filename);
|
||||
lpconfig->filename=ortp_strdup(filename);
|
||||
lpconfig->file=fopen(filename,"rw");
|
||||
lpconfig->file=fopen(filename,"r+");
|
||||
if (lpconfig->file!=NULL){
|
||||
lp_config_parse(lpconfig,lpconfig->file);
|
||||
fclose(lpconfig->file);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue