diff options
| author | Nils Maier <maierman@web.de> | 2013-09-15 21:52:02 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-09-20 23:06:49 +0200 |
| commit | e2700f50a5d8da1596cefccc01d70aa4696e3f4a (patch) | |
| tree | 86821bba593efefe83fe31da28b7c6a944f5d171 /src/HttpResponseCommand.h | |
| parent | 29d569eef98cdcabe52c365e75ca4da2174d8bf0 (diff) | |
Code cleanup in Http*
Diffstat (limited to 'src/HttpResponseCommand.h')
| -rw-r--r-- | src/HttpResponseCommand.h | 11 |
1 files changed, 5 insertions, 6 deletions
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> httpResponse); std::unique_ptr<HttpDownloadCommand> - createHttpDownloadCommand - (std::unique_ptr<HttpResponse> httpResponse, - std::unique_ptr<StreamFilter> streamFilter); + createHttpDownloadCommand(std::unique_ptr<HttpResponse> httpResponse, + std::unique_ptr<StreamFilter> 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<DownloadContext>& dctx, - const Checksum& checksum); + bool checkChecksum(const std::shared_ptr<DownloadContext>& dctx, + const Checksum& checksum); #endif // ENABLE_MESSAGE_DIGEST + protected: bool executeInternal(); |
