mirror of https://github.com/BOINC/boinc.git
Merge pull request #1509 from skybon/patch-1
Work around invalid XML in logs
This commit is contained in:
commit
377c8448b2
|
@ -409,7 +409,7 @@ int ACCT_MGR_OP::parse(FILE* f) {
|
|||
}
|
||||
if (log_flags.unparsed_xml) {
|
||||
msg_printf(NULL, MSG_INFO,
|
||||
"[unparsed_xml] ACCT_MGR_OP::parse: unrecognized tag <%s>",
|
||||
"[unparsed_xml] ACCT_MGR_OP::parse: unrecognized tag <%s/>",
|
||||
xp.parsed_tag
|
||||
);
|
||||
}
|
||||
|
|
|
@ -457,7 +457,7 @@ int CC_CONFIG::parse_options_client(XML_PARSER& xp) {
|
|||
|
||||
msg_printf_notice(NULL, false,
|
||||
"http://boinc.berkeley.edu/manager_links.php?target=notice&controlid=config",
|
||||
"%s: <%s>",
|
||||
"%s: <%s/>",
|
||||
_("Unrecognized tag in cc_config.xml"),
|
||||
xp.parsed_tag
|
||||
);
|
||||
|
@ -512,7 +512,7 @@ int CC_CONFIG::parse_client(FILE* f) {
|
|||
if (xp.match_tag("log_flags/")) continue;
|
||||
msg_printf_notice(NULL, false,
|
||||
"http://boinc.berkeley.edu/manager_links.php?target=notice&controlid=config",
|
||||
"%s: <%s>",
|
||||
"%s: <%s/>",
|
||||
_("Unrecognized tag in cc_config.xml"),
|
||||
xp.parsed_tag
|
||||
);
|
||||
|
|
|
@ -878,7 +878,7 @@ void XML_PARSER::skip_unexpected(
|
|||
|
||||
if (verbose) {
|
||||
fprintf(stderr,
|
||||
"%s: Unrecognized XML tag '<%s>' in %s; skipping\n",
|
||||
"%s: Unrecognized XML tag '<%s/>' in %s; skipping\n",
|
||||
time_to_string(dtime()), start_tag, where
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue