Merge branch 'master' of git.linphone.org:linphone into belle-sip

This commit is contained in:
Ghislain MARY 2013-04-02 15:52:21 +02:00
commit 6702bf8a32

View file

@ -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);