summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/svcs_rsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/svcs_rsa.cpp')
-rw-r--r--plugins/SecureIM/src/svcs_rsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecureIM/src/svcs_rsa.cpp b/plugins/SecureIM/src/svcs_rsa.cpp
index b4ca73fb1f..9f59e6d3ba 100644
--- a/plugins/SecureIM/src/svcs_rsa.cpp
+++ b/plugins/SecureIM/src/svcs_rsa.cpp
@@ -16,7 +16,7 @@ int __cdecl rsa_inject(HANDLE context, LPCSTR msg)
Sent_NetLog("rsa_inject: '%s'", msg);
- int len = (int)strlen(msg) + 1;
+ int len = (int)mir_strlen(msg) + 1;
LPSTR buf = (LPSTR)mir_alloc(LEN_SECU + len);
memcpy(buf, SIG_SECU, LEN_SECU);
memcpy(buf + LEN_SECU, msg, len);