summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 2b8fba99de..a8a65bc88a 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -880,7 +880,7 @@ std::string FacebookProto::PrepareUrl(std::string url) {
// Make realtive url
if (!isRelativeUrl) {
- url = url.substr(pos + strlen(FACEBOOK_SERVER_DOMAIN));
+ url = url.substr(pos + mir_strlen(FACEBOOK_SERVER_DOMAIN));
// Strip eventual port
pos = url.find("/");
@@ -1057,7 +1057,7 @@ void FacebookProto::InitHotkeys()
{
char text[200];
mir_strncpy(text, m_szModuleName, 100);
- char *tDest = text + strlen(text);
+ char *tDest = text + mir_strlen(text);
HOTKEYDESC hkd = { sizeof(hkd) };
hkd.pszName = text;