summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_login.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-02 18:26:36 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-02 18:26:36 +0300
commit3450ef0b5b99eaad7694eeddd7556485effeafff (patch)
treed2de11692c2998f000a7c471382ddb52d3bbf608 /protocols/Steam/src/steam_login.cpp
parent151a37c494b5cb30ea40627bf1b82eb7783fc6fa (diff)
Steam: use machine name as unique location id
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r--protocols/Steam/src/steam_login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index 4ea0e6cf9d..cac890ac18 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -252,7 +252,7 @@ void CSteamProto::OnPollSession(const CAuthenticationPollAuthSessionStatusRespon
CMsgIPAddress privateIp;
privateIp.ip_case = CMSG_IPADDRESS__IP_V4;
- privateIp.v4 = 0;
+ privateIp.v4 = crc32(0xBABABEDA, (const Bytef *)szMachineName, (unsigned)mir_strlen(szMachineName));
CMsgClientLogon request;
request.access_token = reply.refresh_token;