diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:06:32 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:06:32 +0000 |
commit | 5a17c9299e03bebf46169927abdeee34aaf8e854 (patch) | |
tree | cbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /plugins/Exchange | |
parent | ed64312924e77707e7e5b5965c301692519f293a (diff) |
replace strlen to mir_strlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange')
-rw-r--r-- | plugins/Exchange/src/MirandaExchange.cpp | 2 | ||||
-rw-r--r-- | plugins/Exchange/src/emails.cpp | 2 | ||||
-rw-r--r-- | plugins/Exchange/src/utils.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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");
}
|