This commit is contained in:
jomjol
2021-06-17 20:28:24 +02:00
parent f4edd36744
commit 45154cb55c
7 changed files with 16 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ void LoadWlanFromFile(std::string fn, char *&_ssid, char *&_password, char *&_ho
fclose(pFile);
// Check if Hostname was empty in .ini if yes set to std_hostname
if(hostname.length() >= 0){
if(hostname.length() == 0){
hostname = std_hostname;
}