mirror of https://github.com/BOINC/boinc.git
client: display XML in app_config notices correctly
This commit is contained in:
parent
bfa0a81a7b
commit
1c9233a46f
|
@ -82,7 +82,7 @@ int APP_CONFIG::parse(XML_PARSER& xp, PROJECT* p) {
|
|||
}
|
||||
xp.skip_unexpected(log_flags.unparsed_xml, "APP_CONFIG::parse");
|
||||
}
|
||||
msg_printf(p, MSG_USER_ALERT,
|
||||
msg_printf_notice(p, false, NULL,
|
||||
"missing </app> in app_config.xml"
|
||||
);
|
||||
return ERR_XML_PARSE;
|
||||
|
@ -106,7 +106,7 @@ int APP_VERSION_CONFIG::parse(XML_PARSER& xp, PROJECT* p) {
|
|||
}
|
||||
xp.skip_unexpected(log_flags.unparsed_xml, "APP_VERSION_CONFIG::parse");
|
||||
}
|
||||
msg_printf(p, MSG_USER_ALERT,
|
||||
msg_printf_notice(p, false, NULL,
|
||||
"missing </app_version> in app_config.xml"
|
||||
);
|
||||
return ERR_XML_PARSE;
|
||||
|
@ -147,7 +147,7 @@ int APP_CONFIGS::parse(XML_PARSER& xp, PROJECT* p) {
|
|||
}
|
||||
xp.skip_unexpected(log_flags.unparsed_xml, "APP_CONFIGS::parse");
|
||||
}
|
||||
msg_printf(p, MSG_USER_ALERT,
|
||||
msg_printf_notice(p, false, NULL,
|
||||
"missing </app_config> in app_config.xml"
|
||||
);
|
||||
return ERR_XML_PARSE;
|
||||
|
|
Loading…
Reference in New Issue