From: Nishi Date: Wed, 9 Oct 2024 10:51:28 +0000 (+0000) Subject: c89 X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=3ca754ec29b4b9e78093a2a6dda60287b6cd518e;p=tewi.git c89 git-svn-id: file:///raid/svn-personal/tewi/trunk@294 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/http.c b/Server/http.c index e0c69f3..22aae28 100644 --- a/Server/http.c +++ b/Server/http.c @@ -59,6 +59,7 @@ int tw_http_parse(SSL* ssl, int sock, struct tw_http_request* req) { int phase = 0; char* header; int nl; + bool bad; #ifdef USE_POLL struct pollfd pollfds[1]; @@ -68,7 +69,7 @@ int tw_http_parse(SSL* ssl, int sock, struct tw_http_request* req) { fd_set fds; #endif - bool bad = false; + bad = false; cbuf[1] = 0;