summaryrefslogtreecommitdiff
path: root/protocols/Steam
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam')
-rw-r--r--protocols/Steam/src/Steam/authorization.h6
-rw-r--r--protocols/Steam/src/Steam/friend_list.h6
-rw-r--r--protocols/Steam/src/Steam/login.h4
-rw-r--r--protocols/Steam/src/Steam/message.h6
-rw-r--r--protocols/Steam/src/Steam/pending.h6
-rw-r--r--protocols/Steam/src/Steam/session.h2
-rw-r--r--protocols/Steam/src/steam_menus.cpp2
-rw-r--r--protocols/Steam/src/steam_utils.cpp4
8 files changed, 18 insertions, 18 deletions
diff --git a/protocols/Steam/src/Steam/authorization.h b/protocols/Steam/src/Steam/authorization.h
index 047b408b05..57401f91c5 100644
--- a/protocols/Steam/src/Steam/authorization.h
+++ b/protocols/Steam/src/Steam/authorization.h
@@ -18,7 +18,7 @@ namespace SteamWebApi
ptrA(mir_urlEncode(password)),
timestamp);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
AuthorizationRequest(const char *username, const char *password, const char *timestamp, const char *guardCode) :
@@ -34,7 +34,7 @@ namespace SteamWebApi
guardCode,
timestamp);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
AuthorizationRequest(const char *username, const char *password, const char *timestamp, const char *captchaId, const char *captchaText) :
@@ -51,7 +51,7 @@ namespace SteamWebApi
ptrA(mir_urlEncode(captchaText)),
timestamp);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
};
}
diff --git a/protocols/Steam/src/Steam/friend_list.h b/protocols/Steam/src/Steam/friend_list.h
index eccc3d1224..cfa383c533 100644
--- a/protocols/Steam/src/Steam/friend_list.h
+++ b/protocols/Steam/src/Steam/friend_list.h
@@ -33,7 +33,7 @@ namespace SteamWebApi
sessionId,
who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
@@ -56,7 +56,7 @@ namespace SteamWebApi
sessionId,
who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
@@ -79,7 +79,7 @@ namespace SteamWebApi
sessionId,
who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
diff --git a/protocols/Steam/src/Steam/login.h b/protocols/Steam/src/Steam/login.h
index bf19c6f522..e2b9b41a81 100644
--- a/protocols/Steam/src/Steam/login.h
+++ b/protocols/Steam/src/Steam/login.h
@@ -12,7 +12,7 @@ namespace SteamWebApi
char data[256];
mir_snprintf(data, SIZEOF(data), "access_token=%s&ui_mode=web", token);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
};
@@ -25,7 +25,7 @@ namespace SteamWebApi
char data[256];
mir_snprintf(data, SIZEOF(data), "access_token=%s&umqid=%s", token, umqId);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
};
}
diff --git a/protocols/Steam/src/Steam/message.h b/protocols/Steam/src/Steam/message.h
index ee5b5dcea7..bf0cb78b3d 100644
--- a/protocols/Steam/src/Steam/message.h
+++ b/protocols/Steam/src/Steam/message.h
@@ -31,7 +31,7 @@ namespace SteamWebApi
// state);
// SecureHttpPostRequest request(hConnection, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001");
- // request.SetData(data, strlen(data));
+ // request.SetData(data, mir_strlen(data));
// mir_ptr<NETLIBHTTPREQUEST> response(request.Send());
// if (!response)
@@ -56,7 +56,7 @@ namespace SteamWebApi
// ptrA(mir_urlEncode(text)));
// SecureHttpPostRequest request(hConnection, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001");
- // request.SetData(data, strlen(data));
+ // request.SetData(data, mir_strlen(data));
// mir_ptr<NETLIBHTTPREQUEST> response(request.Send());
// if (!response)
@@ -91,7 +91,7 @@ namespace SteamWebApi
// steamId);
// SecureHttpPostRequest request(hConnection, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001");
- // request.SetData(data, strlen(data));
+ // request.SetData(data, mir_strlen(data));
// mir_ptr<NETLIBHTTPREQUEST> response(request.Send());
// if (!response)
diff --git a/protocols/Steam/src/Steam/pending.h b/protocols/Steam/src/Steam/pending.h
index 68b86ad689..65a72d25d4 100644
--- a/protocols/Steam/src/Steam/pending.h
+++ b/protocols/Steam/src/Steam/pending.h
@@ -18,7 +18,7 @@ namespace SteamWebApi
char data[MAX_PATH];
mir_snprintf(data, SIZEOF(data), "sessionID=%s&id=%s&perform=accept&action=approvePending&itype=friend&json=1&xml=0", sessionId, who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
@@ -38,7 +38,7 @@ namespace SteamWebApi
char data[MAX_PATH];
mir_snprintf(data, SIZEOF(data), "sessionID=%s&id=%s&perform=ignore&action=approvePending&itype=friend&json=1&xml=0", sessionId, who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
@@ -58,7 +58,7 @@ namespace SteamWebApi
char data[MAX_PATH];
mir_snprintf(data, SIZEOF(data), "sessionID=%s&id=%s&perform=block&action=approvePending&itype=friend&json=1&xml=0", sessionId, who);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
AddHeader("Cookie", cookie);
}
};
diff --git a/protocols/Steam/src/Steam/session.h b/protocols/Steam/src/Steam/session.h
index ea42cc77c4..20a5d7db53 100644
--- a/protocols/Steam/src/Steam/session.h
+++ b/protocols/Steam/src/Steam/session.h
@@ -18,7 +18,7 @@ namespace SteamWebApi
steamId,
cookie);
- SetData(data, strlen(data));
+ SetData(data, mir_strlen(data));
}
};
}
diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp
index 8e2865bf22..a7b9626fc5 100644
--- a/protocols/Steam/src/steam_menus.cpp
+++ b/protocols/Steam/src/steam_menus.cpp
@@ -99,7 +99,7 @@ void CSteamProto::OnInitStatusMenu()
{
char text[200];
mir_strncpy(text, m_szModuleName, 100);
- char* tDest = text + strlen(text);
+ char* tDest = text + mir_strlen(text);
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszService = text;
diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp
index 46b7d8b6de..9484252d3a 100644
--- a/protocols/Steam/src/steam_utils.cpp
+++ b/protocols/Steam/src/steam_utils.cpp
@@ -50,7 +50,7 @@ int CSteamProto::MirandaToSteamState(int status)
int CSteamProto::RsaEncrypt(const char *pszModulus, const char *data, BYTE *encryptedData, DWORD &encryptedSize)
{
- DWORD cchModulus = (DWORD)strlen(pszModulus);
+ DWORD cchModulus = (DWORD)mir_strlen(pszModulus);
int result = 0;
BYTE *pbBuffer = 0;
BYTE *pKeyBlob = 0;
@@ -118,7 +118,7 @@ int CSteamProto::RsaEncrypt(const char *pszModulus, const char *data, BYTE *encr
goto exit;
}
- DWORD dataSize = (DWORD)strlen(data);
+ DWORD dataSize = (DWORD)mir_strlen(data);
// if data is not allocated just renurn size
if (encryptedData == NULL)