summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/proxy.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
commit5a17c9299e03bebf46169927abdeee34aaf8e854 (patch)
treecbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /protocols/AimOscar/src/proxy.cpp
parented64312924e77707e7e5b5965c301692519f293a (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 'protocols/AimOscar/src/proxy.cpp')
-rw-r--r--protocols/AimOscar/src/proxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/proxy.cpp b/protocols/AimOscar/src/proxy.cpp
index 7cfaa76e19..3ed34d54af 100644
--- a/protocols/AimOscar/src/proxy.cpp
+++ b/protocols/AimOscar/src/proxy.cpp
@@ -137,7 +137,7 @@ void __cdecl CAimProto::aim_proxy_helper(void* param)
int proxy_initialize_send(HANDLE connection, char* sn, char* cookie)
{
- const char sn_length = (char)strlen(sn);
+ const char sn_length = (char)mir_strlen(sn);
const int len = sn_length + 21 + TLV_HEADER_SIZE + AIM_CAPS_LENGTH;
char* buf= (char*)alloca(len);
@@ -155,7 +155,7 @@ int proxy_initialize_send(HANDLE connection, char* sn, char* cookie)
int proxy_initialize_recv(HANDLE connection,char* sn, char* cookie,unsigned short port_check)
{
- const char sn_length = (char)strlen(sn);
+ const char sn_length = (char)mir_strlen(sn);
const int len = sn_length + 23 + TLV_HEADER_SIZE + AIM_CAPS_LENGTH;
char* buf= (char*)alloca(len);