forked from markus/S_New4
fix ausgabefehler zu v3.7.2 => v3.7.3
This commit is contained in:
parent
732b2d5940
commit
dc79a18d7a
@ -81,7 +81,7 @@ struct Settings {
|
||||
proxy_ip = "127.0.0.1",
|
||||
languages = "GerDub,GerSub,Eng,",
|
||||
genaueHoster = "",
|
||||
version = "3.7.2",
|
||||
version = "3.7.3",
|
||||
defaultFileVersion="1.6",
|
||||
outputFilePath = "",
|
||||
default_checkPath = "",
|
||||
|
@ -1063,7 +1063,7 @@ int ProgramManager::updateModus(Settings *settings)
|
||||
if(neusteVersion.find(".") == std::string::npos) {
|
||||
size_t pos;
|
||||
if((pos = html.find("h1>")) != std::string::npos)
|
||||
std::cout << " => Das herunterladen ist fehlgeschlagen: " << html.substr(pos + 3, html.find("</h1>") - pos);
|
||||
std::cout << " => Das herunterladen ist fehlgeschlagen: '" << html.substr(pos + 3, html.find("</h1>") - pos -3) << "'." << std::endl;
|
||||
else
|
||||
std::cout << " => Error: Die neuste Version ist ungültig: '" << neusteVersion << "'." << std::endl;
|
||||
return -3;
|
||||
|
Loading…
Reference in New Issue
Block a user