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 --- plugins/Exchange/src/MirandaExchange.cpp | 2 +- plugins/Exchange/src/emails.cpp | 2 +- plugins/Exchange/src/utils.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Exchange') diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp index 0eebaae966..6d9f455f35 100644 --- a/plugins/Exchange/src/MirandaExchange.cpp +++ b/plugins/Exchange/src/MirandaExchange.cpp @@ -130,7 +130,7 @@ CKeeper::CKeeper( LPTSTR szSender, LPTSTR szSubject, LPSTR szEntryID) } if (NULL != szEntryID) { - m_nSizeEntryID = (UINT)strlen( szEntryID ) +1; + m_nSizeEntryID = (UINT)mir_strlen( szEntryID ) +1; m_szEntryID = new char[m_nSizeEntryID]; memset(m_szEntryID, 0, m_nSizeEntryID * sizeof(char)); strcpy(m_szEntryID, szEntryID ); diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp index 30a2d1fdc0..23be8a9359 100644 --- a/plugins/Exchange/src/emails.cpp +++ b/plugins/Exchange/src/emails.cpp @@ -163,7 +163,7 @@ int CExchangeServer::IsServerAvailable() // if connected then close smtp connection by sending a quit message bAvailable = 1; char message[] = "quit\n"; - send(sServer, message, (int)strlen(message), 0); + send(sServer, message, (int)mir_strlen(message), 0); } res = closesocket(sServer); //close the socket return bAvailable; diff --git a/plugins/Exchange/src/utils.cpp b/plugins/Exchange/src/utils.cpp index d973492787..c580d67925 100644 --- a/plugins/Exchange/src/utils.cpp +++ b/plugins/Exchange/src/utils.cpp @@ -56,7 +56,7 @@ int Log(char*, ...) } va_end(vararg); - if (str[strlen(str) - 1] != '\n') + if (str[mir_strlen(str) - 1] != '\n') { strcat(str, "\n"); } -- cgit v1.2.3