-rw-r--r-- | html.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -52,4 +52,11 @@ void htmlf(const char *format, ...) } +void html_status(int code, int more_headers) +{ + htmlf("Status: %d\n", code); + if (!more_headers) + html("\n"); +} + void html_txt(char *txt) { |