Some minor compile fixes

This commit is contained in:
WolverinDEV
2021-01-03 17:20:43 +01:00
parent 960186d55e
commit 3c0c48c00c
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -14,8 +14,9 @@ using namespace ts::server::file;
FileServerHandler::FileServerHandler(ts::server::InstanceHandler *instance) : instance_{instance} {}
bool FileServerHandler::initialize(std::string &error) {
if(!file::initialize(error, serverInstance->properties()[property::SERVERINSTANCE_FILETRANSFER_HOST].as<std::string>(), serverInstance->properties()[property::SERVERINSTANCE_FILETRANSFER_PORT].as<uint16_t>()))
if(!file::initialize(error, serverInstance->properties()[property::SERVERINSTANCE_FILETRANSFER_HOST].as<std::string>(), serverInstance->properties()[property::SERVERINSTANCE_FILETRANSFER_PORT].as<uint16_t>())) {
return false;
}
file::config::ssl_option_supplier = [&]{