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