Fix load of xml file

This commit is contained in:
Erwan Croze 2017-04-18 17:19:44 +02:00
parent 59c56393f6
commit 273c896336

View file

@ -489,7 +489,7 @@ char* linphone_config_load_from_xml_file(LpConfig *lpc, const char *filename, vo
if (path) {
int result = -1;
context = xml2lpc_context_new(ctx, lc);
result = xml2lpc_set_xml_string(context, path);
result = xml2lpc_set_xml_file(context, path);
if (result == 0) {
result = xml2lpc_convert(context, lpc);
if (result == 0) {