* don't end the header, end_burst does this for us.
authorWilfried Göesgens <willi@citadel.org>
Tue, 10 Nov 2009 19:44:01 +0000 (19:44 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 10 Nov 2009 19:44:01 +0000 (19:44 +0000)
webcit/webcit.c

index 427cb50ad6ae2875c168f58e3d759ded95736c78..afcf9cf153afc7c32bb676e9e2b4e1825e6868b0 100644 (file)
@@ -612,7 +612,7 @@ void session_loop(void)
                if (ibstr("nonce") != WCC->nonce) {
                        lprintf(9, "Ignoring request with mismatched nonce.\n");
                        hprintf("HTTP/1.1 404 Security check failed\r\n");
-                       hprintf("Content-Type: text/plain\r\n\r\n");
+                       hprintf("Content-Type: text/plain\r\n");
                        begin_burst();
                        wc_printf("Security check failed.\r\n");
                        end_burst();