1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-03-28 14:56:24 +01:00

fix size check bug in matchmaking_servers

This commit is contained in:
otavepto 2024-04-10 07:59:40 +02:00
parent 4afa1926ad
commit d802dba47d

View file

@ -110,7 +110,7 @@ HServerListRequest Steam_Matchmaking_Servers::RequestServerList(AppId_t iApp, IS
std::istringstream list_ss (list);
std::string list_ip;
while (std::getline(list_ss, list_ip)) {
if (list_ip.length() < 0) continue;
if (list_ip.length() <= 0) continue;
unsigned int byte4, byte3, byte2, byte1, byte0;
uint32 ip_int;