From d802dba47de4c7baa7b9ae71ec0e88e3ae99c968 Mon Sep 17 00:00:00 2001 From: otavepto Date: Wed, 10 Apr 2024 07:59:40 +0200 Subject: [PATCH] fix size check bug in matchmaking_servers --- dll/steam_matchmaking_servers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/steam_matchmaking_servers.cpp b/dll/steam_matchmaking_servers.cpp index 83ecf6a6..ab195b64 100644 --- a/dll/steam_matchmaking_servers.cpp +++ b/dll/steam_matchmaking_servers.cpp @@ -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;