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

View File

@ -60,7 +60,7 @@ bool file::initialize(std::string &error, const std::string& hostnames, uint16_t
}
}
return true;
return any_bind;
}
void file::finalize() {

@ -1 +1 @@
Subproject commit 5c2ff84e47d4fa905f9b01b1d6bdf783c6fdd808
Subproject commit b07d170e7b5260d341db2617187e0df7edc71b3c

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 = [&]{