Update MotD when MotD fails to download
This commit is contained in:
parent
4f6e565905
commit
7614042e19
@ -729,6 +729,8 @@ bool Client::CheckUpdate(http::Request *updateRequest, bool checkSession)
|
||||
//free(data);
|
||||
if (usingAltUpdateServer && !checkSession)
|
||||
this->messageOfTheDay = String::Build("HTTP Error ", status, " while checking for updates: ", http::StatusText(status));
|
||||
else
|
||||
this->messageOfTheDay = String::Build("HTTP Error ", status, " while fetching MotD");
|
||||
}
|
||||
else if(data.size())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user