Commit 5cd4d102 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix wrong code.

parent 47e06165
......@@ -100,8 +100,8 @@ static LinphoneCore* configure_lc_from(LinphoneCoreVTable* v_table, const char*
if (path==NULL) path=".";
if (path && file){
sprintf(filepath, "%s/%s", path, file);
snprintf(filepath, sizeof(filepath), "%s/%s", path, file);
lc = linphone_core_new(v_table,NULL,*filepath!='\0' ? filepath : NULL,NULL);
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