summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/account.cpp')
-rw-r--r--plugins/YAMN/src/account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/account.cpp b/plugins/YAMN/src/account.cpp
index f438bbf655..590c812355 100644
--- a/plugins/YAMN/src/account.cpp
+++ b/plugins/YAMN/src/account.cpp
@@ -750,7 +750,7 @@ DWORD WriteStringToFile(HANDLE File, char *Source)
DWORD Length, WrittenBytes;
char null = 0;
- if ((Source == NULL) || !(Length = (DWORD)strlen(Source))) {
+ if ((Source == NULL) || !(Length = (DWORD)mir_strlen(Source))) {
if (!WriteFile(File, &null, 1, &WrittenBytes, NULL)) {
CloseHandle(File);
return EACC_SYSTEM;