Small fixes

This commit is contained in:
WolverinDEV
2020-06-11 11:37:04 +02:00
parent 006fd6ebec
commit 6e1323cc23
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ command_result ConnectedClient::handleCommandFTInitUpload(ts::Command &cmd) {
info.file_offset = 0;
info.expected_file_size = cmd["size"].as<size_t>();
info.override_exiting = cmd["overwrite"].as<bool>();
info.file_path = cmd["name"].string();
info.file_path = cmd["path"].string() + "/" + cmd["name"].string();
info.client_unique_id = this->getUid();
info.client_id = this->getClientId();
info.max_concurrent_transfers = kMaxClientTransfers;