]> Git repositories of Nishi - tewi.git/commitdiff
c89
authorNishi <nishi@nishi.boats>
Wed, 9 Oct 2024 10:51:28 +0000 (10:51 +0000)
committerNishi <nishi@nishi.boats>
Wed, 9 Oct 2024 10:51:28 +0000 (10:51 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@294 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/http.c

index e0c69f326017b9c0003c8c09beee43e1d6e2fe32..22aae284bc75b36c5e8711005dc9dfcbb64501f1 100644 (file)
@@ -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;