diff --git a/lib/remote/httprequest.cpp b/lib/remote/httprequest.cpp index f698b2101..8f6c11e31 100644 --- a/lib/remote/httprequest.cpp +++ b/lib/remote/httprequest.cpp @@ -142,9 +142,9 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait) if (size == 0) { CompleteBody = true; - return false; - } else - return true; + } + + return true; } if (src.Eof)