From e2700f50a5d8da1596cefccc01d70aa4696e3f4a Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Sun, 15 Sep 2013 21:52:02 +0200 Subject: Code cleanup in Http* --- src/HttpResponseCommand.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/HttpResponseCommand.h') diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h index 0b33acef..3af8a4f3 100644 --- a/src/HttpResponseCommand.h +++ b/src/HttpResponseCommand.h @@ -68,9 +68,8 @@ private: bool skipResponseBody(std::unique_ptr httpResponse); std::unique_ptr - createHttpDownloadCommand - (std::unique_ptr httpResponse, - std::unique_ptr streamFilter); + createHttpDownloadCommand(std::unique_ptr httpResponse, + std::unique_ptr streamFilter); void updateLastModifiedTime(const Time& lastModified); @@ -81,10 +80,10 @@ private: // Returns true if dctx and checksum has same hash type and hash // value. If they have same hash type but different hash value, // throws exception. Otherwise returns false. - bool checkChecksum - (const std::shared_ptr& dctx, - const Checksum& checksum); + bool checkChecksum(const std::shared_ptr& dctx, + const Checksum& checksum); #endif // ENABLE_MESSAGE_DIGEST + protected: bool executeInternal(); -- cgit