summaryrefslogtreecommitdiff
path: root/src/SftpNegotiationConnectChain.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /src/SftpNegotiationConnectChain.h
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/SftpNegotiationConnectChain.h')
-rw-r--r--src/SftpNegotiationConnectChain.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/SftpNegotiationConnectChain.h b/src/SftpNegotiationConnectChain.h
index e78081ce..003ae6bb 100644
--- a/src/SftpNegotiationConnectChain.h
+++ b/src/SftpNegotiationConnectChain.h
@@ -47,13 +47,9 @@ struct SftpNegotiationConnectChain : public ControlChain<ConnectCommand*> {
virtual ~SftpNegotiationConnectChain() {}
virtual int run(ConnectCommand* t, DownloadEngine* e) CXX11_OVERRIDE
{
- auto c = make_unique<SftpNegotiationCommand>
- (t->getCuid(),
- t->getRequest(),
- t->getFileEntry(),
- t->getRequestGroup(),
- t->getDownloadEngine(),
- t->getSocket());
+ auto c = make_unique<SftpNegotiationCommand>(
+ 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));