From 795a0474df35c56307151cca5787cb8ae2df06e5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 23 Nov 2017 14:11:43 +0900 Subject: clang-format-5.0 --- src/HttpResponseCommand.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/HttpResponseCommand.cc') diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index d0e44803..6009dc2f 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -279,9 +279,8 @@ bool HttpResponseCommand::executeInternal() // we ignore content-length when inflate is required fe->setLength(0); if (req->getMethod() == Request::METHOD_GET && - (totalLength != 0 || - !httpResponse->getHttpHeader()->defined( - HttpHeader::CONTENT_LENGTH))) { + (totalLength != 0 || !httpResponse->getHttpHeader()->defined( + HttpHeader::CONTENT_LENGTH))) { // DownloadContext::knowsTotalLength() == true only when // server says the size of file is 0 explicitly. getDownloadContext()->markTotalLengthIsUnknown(); @@ -422,9 +421,8 @@ bool HttpResponseCommand::handleOtherEncoding( httpResponse.get(), getContentEncodingStreamFilter(httpResponse.get())); // If chunked transfer-encoding is specified, we have to read end of // chunk markers(0\r\n\r\n, for example). - bool chunkedUsed = - streamFilter && - streamFilter->getName() == ChunkedDecodingStreamFilter::NAME; + bool chunkedUsed = streamFilter && streamFilter->getName() == + ChunkedDecodingStreamFilter::NAME; // For zero-length file, check existing file comparing its size if (!chunkedUsed && getDownloadContext()->knowsTotalLength() && -- cgit