From 13c6d64b87a8f4248e7bab2ebb0033206a7aae2e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 3 Feb 2012 13:02:26 +0000 Subject: [PATCH] Added extra parameter to mxml_parse_buffer SVN revision: 2430 --- src/elogd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 1e252cc2..3161fe16 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -14622,7 +14622,7 @@ void xml_import(LOGBOOK * lbs, const char *xml, const char *xmlfile) n_attr = lbs->n_attr; - root = mxml_parse_buffer(xml, error, sizeof(error)); + root = mxml_parse_buffer(xml, error, sizeof(error), NULL); if (root == NULL) { strencode2(str, error, sizeof(str)); show_error(str); @@ -24789,7 +24789,7 @@ PMXML_NODE load_password_file(LOGBOOK * lbs, char *error, int error_size) } } - if ((xml_tree = mxml_parse_file(file_name, str, sizeof(str))) == NULL) { + if ((xml_tree = mxml_parse_file(file_name, str, sizeof(str), NULL)) == NULL) { show_error(str); strlcpy(error, str, error_size); eprintf("Cannot load password file \"%s\": %s", file_name, error);