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