diff options
Diffstat (limited to 'src/FtpNegotiationConnectChain.h')
| -rw-r--r-- | src/FtpNegotiationConnectChain.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/FtpNegotiationConnectChain.h b/src/FtpNegotiationConnectChain.h index 5c6b7c20..5c05dc15 100644 --- a/src/FtpNegotiationConnectChain.h +++ b/src/FtpNegotiationConnectChain.h @@ -47,13 +47,9 @@ struct FtpNegotiationConnectChain : public ControlChain<ConnectCommand*> { virtual ~FtpNegotiationConnectChain() {} virtual int run(ConnectCommand* t, DownloadEngine* e) CXX11_OVERRIDE { - auto c = make_unique<FtpNegotiationCommand> - (t->getCuid(), - t->getRequest(), - t->getFileEntry(), - t->getRequestGroup(), - t->getDownloadEngine(), - t->getSocket()); + auto c = make_unique<FtpNegotiationCommand>( + t->getCuid(), t->getRequest(), t->getFileEntry(), t->getRequestGroup(), + t->getDownloadEngine(), t->getSocket()); c->setStatus(Command::STATUS_ONESHOT_REALTIME); e->setNoWait(true); e->addCommand(std::move(c)); |
