From 5a17c9299e03bebf46169927abdeee34aaf8e854 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 10:06:32 +0000 Subject: replace strlen to mir_strlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/ICQCorp/src/corp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/ICQCorp/src/corp.cpp') diff --git a/protocols/ICQCorp/src/corp.cpp b/protocols/ICQCorp/src/corp.cpp index ef8bff0dd8..a1dd243c59 100644 --- a/protocols/ICQCorp/src/corp.cpp +++ b/protocols/ICQCorp/src/corp.cpp @@ -70,7 +70,7 @@ extern "C" __declspec(dllexport) int Load() GetModuleFileName(hInstance, fileName, MAX_PATH); FindClose(FindFirstFile(fileName, &findData)); - findData.cFileName[strlen(findData.cFileName) - 4] = 0; + findData.cFileName[mir_strlen(findData.cFileName) - 4] = 0; strcpy(protoName, findData.cFileName); CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd); @@ -110,8 +110,8 @@ void T(char *format, ...) hFile = CreateFile("ICQ Corp.log", GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, 0, NULL); SetFilePointer(hFile, 0, 0, FILE_END); } - WriteFile(hFile, bufferTime, (DWORD)strlen(bufferTime), &result, NULL); - WriteFile(hFile, buffer, (DWORD)strlen(buffer), &result, NULL); + WriteFile(hFile, bufferTime, (DWORD)mir_strlen(bufferTime), &result, NULL); + WriteFile(hFile, buffer, (DWORD)mir_strlen(buffer), &result, NULL); } #endif -- cgit v1.2.3