From 6d01808adf380413e48fd5e4abbd01a75b92f465 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 28 Feb 2018 10:50:33 +0100 Subject: [PATCH] Fix incorrect return value --- lib/remote/httprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/httprequest.cpp b/lib/remote/httprequest.cpp index a50cd3783..55d6f0a3f 100644 --- a/lib/remote/httprequest.cpp +++ b/lib/remote/httprequest.cpp @@ -115,7 +115,7 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait) /* we're done if the request doesn't contain a message body */ if (!Headers->Contains("content-length") && !Headers->Contains("transfer-encoding")) { CompleteBody = true; - return false; + return true; } else if (!m_Body) m_Body = new FIFO();