diff options
Diffstat (limited to 'err.c')
-rw-r--r-- | err.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#include <stdio.h> + +void +srverr(char *err) +{ + char title[] = "500 Internal Server Error"; + + printf("Status: %s\n", title); + printf("Content-Type: text/html\n\n"); + #include "t/head.tc" + #include "t/err.tc" + #include "t/foot.tc" +}
\ No newline at end of file |