fix compilation on OpenBSD

This commit is contained in:
Jon Williams 2016-03-31 13:25:32 -04:00
parent dfc253bebf
commit 94706763e5
5 changed files with 26 additions and 7 deletions

View file

@ -1316,7 +1316,7 @@ static int handleHTTPRequest(struct client *c, char *p) {
const char *statusmsg = "Internal Server Error";
char *url, *content = NULL;
char *ext;
char *content_type;
char *content_type = NULL;
int i;
if (Modes.debug & MODES_DEBUG_NET)