v2.5.3 fix missing !

This commit is contained in:
Markus 2019-08-31 21:33:15 +02:00
parent 662a787d44
commit 34c1fc637f
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ int loadDefaulOptions(Settings &settings)


} else if (what == "default-maxThreads") { } else if (what == "default-maxThreads") {
settings.maxThreads = static_cast<unsigned>(atoi(data.c_str())); settings.maxThreads = static_cast<unsigned>(atoi(data.c_str()));
if(isNumber(data) ) { if(!isNumber(data) ) {
std::cout << " => Error_Defaults: Thread-Max Ungültige Zahl: " << data << std::endl; std::cout << " => Error_Defaults: Thread-Max Ungültige Zahl: " << data << std::endl;
return 18; return 18;
} else if (settings.maxThreads > 10) { } else if (settings.maxThreads > 10) {

View File

@ -38,7 +38,7 @@ struct Settings {
proxy_ip = "127.0.0.1", proxy_ip = "127.0.0.1",
languages = "GerDub,GerSub,Eng", languages = "GerDub,GerSub,Eng",
genaueHoster = "", genaueHoster = "",
version = "2.5.2", version = "2.5.3",
defaultFileVersion="1.3", defaultFileVersion="1.3",
outputFilePath = "", outputFilePath = "",
default_checkPath = "", default_checkPath = "",