From 5803e156a133e8316531d280ce326245bce076b6 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Tue, 12 Jun 2018 21:25:49 +0200 Subject: [PATCH] CGI size --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index e307715..a79c37f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -277,7 +277,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col //if (req.getMethod() == "POST" || req.getMethod() == "PUT") { long len = req.isExistingField("Content-Length") ? strtol( req.getField("Content-Length").c_str(), nullptr, 10) : ( - req.getMethod() == "POST" || req.getMethod() == "PUT)?-1:0; + req.getMethod() == "POST" || req.getMethod() == "PUT")?-1:0; log(prefix, to_string(len)); socket->receive(pipes.stdin, len); //}