Commit 6702bf8a authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Merge branch 'master' of into belle-sip

parents 0f9f315c 63117d28
...@@ -220,7 +220,7 @@ LpConfig * lp_config_new(const char *filename){ ...@@ -220,7 +220,7 @@ LpConfig * lp_config_new(const char *filename){
if (filename!=NULL){ if (filename!=NULL){
ms_message("Using (r/w) config information from %s", filename); ms_message("Using (r/w) config information from %s", filename);
lpconfig->filename=ortp_strdup(filename); lpconfig->filename=ortp_strdup(filename);
lpconfig->file=fopen(filename,"rw"); lpconfig->file=fopen(filename,"r+");
if (lpconfig->file!=NULL){ if (lpconfig->file!=NULL){
lp_config_parse(lpconfig,lpconfig->file); lp_config_parse(lpconfig,lpconfig->file);
fclose(lpconfig->file); fclose(lpconfig->file);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment