This commit is contained in:
MarcEricMartel
2023-10-31 15:06:03 -04:00
parent 553ef01765
commit 78f7974f1c
3 changed files with 8 additions and 6 deletions

View File

@@ -107,10 +107,10 @@ int Connector::Connect(const char* srv_addr, std::string name) {
break;
}
}
if (lsPck.empty())
errors++;
//if (lsPck.empty())
//errors++;
lsPck.clear();
if (errors > 1000000)
if (errors > 1000)
return 4;
}
return 0;