Client: notice bodies were being XML-escaped one time too many

This commit is contained in:
David Anderson 2014-11-12 01:46:18 -08:00
parent ec9d514ff6
commit b7d15277e1
1 changed files with 2 additions and 4 deletions

View File

@ -93,11 +93,9 @@ void show_message(
case MSG_SCHEDULER_ALERT:
char buf[1024];
if (is_html) {
xml_escape(message, buf, 1024);
strcpy(buf, message);
} else {
char buf2[1024];
xml_escape(message, buf2, 1024);
xml_escape(buf2, buf, 1024);
xml_escape(message, buf, 1024);
}
NOTICE n;
n.description = buf;