}
/** Make it HTML-happy and print it. */
- stresc(display_notetext, notetext, 0, 0);
+ stresc(display_notetext, SIZ, notetext, 0, 0);
if (!IsEmptyStr(eid)) {
wprintf("<span id=\"note%s\">%s</span><br />\n", eid, display_notetext);
}
serv_printf("MSG0 %ld", msgnum);
serv_getln(buf, sizeof buf);
if (buf[0] == '1') {
+ strcpy(notetext, "");
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
/** Fill the buffer */
}
/** Make it HTML-happy and print it. */
- stresc(display_notetext, notetext, 0, 0);
+ stresc(display_notetext, SIZ, notetext, 0, 0);
wprintf("%s\n", display_notetext);
}
}