diff options
Diffstat (limited to 'src/SftpNegotiationCommand.cc')
| -rw-r--r-- | src/SftpNegotiationCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SftpNegotiationCommand.cc b/src/SftpNegotiationCommand.cc index c4600abb..920a1ffb 100644 --- a/src/SftpNegotiationCommand.cc +++ b/src/SftpNegotiationCommand.cc @@ -168,7 +168,7 @@ bool SftpNegotiationCommand::executeInternal() { (getCuid(), getRequest(), getFileEntry(), getRequestGroup(), getDownloadEngine(), getSocket(), std::move(authConfig_)); command->setStartupIdleTime - (getOption()->getAsInt(PREF_STARTUP_IDLE_TIME)); + (std::chrono::seconds(getOption()->getAsInt(PREF_STARTUP_IDLE_TIME))); command->setLowestDownloadSpeedLimit (getOption()->getAsInt(PREF_LOWEST_SPEED_LIMIT)); command->setStatus(Command::STATUS_ONESHOT_REALTIME); |
