| -rw-r--r-- | html.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -63,13 +63,12 @@ char *fmt(const char *format, ...) void html_raw(const char *data, size_t size) { - if (write(htmlfd, data, size) != size) - fprintf(stderr, "[html.c] html output truncated.\n"); + write(htmlfd, data, size); } void html(const char *txt) { - html_raw(txt, strlen(txt)); + write(htmlfd, txt, strlen(txt)); } void htmlf(const char *format, ...) |