aboutsummaryrefslogtreecommitdiff
path: root/err.c
blob: d6f66ade41a0603835894fbca36b4112554502b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"
}