summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/friend_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/api/friend_list.h')
-rw-r--r--protocols/Steam/src/api/friend_list.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Steam/src/api/friend_list.h b/protocols/Steam/src/api/friend_list.h
index 7721f0c921..c16a7d84bf 100644
--- a/protocols/Steam/src/api/friend_list.h
+++ b/protocols/Steam/src/api/friend_list.h
@@ -20,10 +20,10 @@ public:
HttpRequest(REQUEST_POST, STEAM_WEB_URL "/actions/AddFriendAjax")
{
char login[MAX_PATH];
- mir_snprintf(login, _countof(login), "%s||oauth:%s", steamId, token);
+ mir_snprintf(login, "%s||oauth:%s", steamId, token);
char cookie[MAX_PATH];
- mir_snprintf(cookie, _countof(cookie), "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
+ mir_snprintf(cookie, "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
char data[128];
mir_snprintf(data, _countof(data),
@@ -44,10 +44,10 @@ public:
HttpRequest(REQUEST_POST, STEAM_WEB_URL "/actions/BlockUserAjax")
{
char login[MAX_PATH];
- mir_snprintf(login, _countof(login), "%s||oauth:%s", steamId, token);
+ mir_snprintf(login, "%s||oauth:%s", steamId, token);
char cookie[MAX_PATH];
- mir_snprintf(cookie, _countof(cookie), "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
+ mir_snprintf(cookie, "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
char data[128];
mir_snprintf(data, _countof(data),
@@ -68,10 +68,10 @@ public:
HttpRequest(REQUEST_POST, STEAM_WEB_URL "/actions/RemoveFriendAjax")
{
char login[MAX_PATH];
- mir_snprintf(login, _countof(login), "%s||oauth:%s", steamId, token);
+ mir_snprintf(login, "%s||oauth:%s", steamId, token);
char cookie[MAX_PATH];
- mir_snprintf(cookie, _countof(cookie), "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
+ mir_snprintf(cookie, "steamLogin=%s;sessionid=%s;forceMobile=1", login, sessionId);
char data[128];
mir_snprintf(data, _countof(data),