From 273c896336fca5626e658f6168856eb8f4e1bb27 Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Tue, 18 Apr 2017 17:19:44 +0200 Subject: [PATCH] Fix load of xml file --- coreapi/lpconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/lpconfig.c b/coreapi/lpconfig.c index 2a1c85520..12d14b65b 100644 --- a/coreapi/lpconfig.c +++ b/coreapi/lpconfig.c @@ -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) {