summaryrefslogtreecommitdiff
path: root/src/FtpTunnelRequestCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FtpTunnelRequestCommand.cc')
-rw-r--r--src/FtpTunnelRequestCommand.cc27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/FtpTunnelRequestCommand.cc b/src/FtpTunnelRequestCommand.cc
index 6f2b2684..6bb6c608 100644
--- a/src/FtpTunnelRequestCommand.cc
+++ b/src/FtpTunnelRequestCommand.cc
@@ -42,26 +42,23 @@
namespace aria2 {
-FtpTunnelRequestCommand::FtpTunnelRequestCommand
-(cuid_t cuid,
- const std::shared_ptr<Request>& req,
- const std::shared_ptr<FileEntry>& fileEntry,
- RequestGroup* requestGroup,
- DownloadEngine* e,
- const std::shared_ptr<Request>& proxyRequest,
- const std::shared_ptr<SocketCore>& s)
- :
- AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
- proxyRequest, s)
-{}
+FtpTunnelRequestCommand::FtpTunnelRequestCommand(
+ cuid_t cuid, const std::shared_ptr<Request>& req,
+ const std::shared_ptr<FileEntry>& fileEntry, RequestGroup* requestGroup,
+ DownloadEngine* e, const std::shared_ptr<Request>& proxyRequest,
+ const std::shared_ptr<SocketCore>& s)
+ : AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
+ proxyRequest, s)
+{
+}
FtpTunnelRequestCommand::~FtpTunnelRequestCommand() {}
std::unique_ptr<Command> FtpTunnelRequestCommand::getNextCommand()
{
- return make_unique<FtpTunnelResponseCommand>
- (getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
- getHttpConnection(), getDownloadEngine(), getSocket());
+ return make_unique<FtpTunnelResponseCommand>(
+ getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
+ getHttpConnection(), getDownloadEngine(), getSocket());
}
} // namespace aria2