summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:52:29 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:52:29 +0000
commitbabf7873a3fe373d60ef22b1b671d98e014d8819 (patch)
treee21dfdb68839616efbbd884dfa77a1745f1c35d7 /protocols/EmLanProto/src
parenta89887eb202c99ce09107668561abce6704f9004 (diff)
replace strcpy to mir_strcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/EmLanProto/src')
-rw-r--r--protocols/EmLanProto/src/mlan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp
index c66d128c05..e0cfd7962c 100644
--- a/protocols/EmLanProto/src/mlan.cpp
+++ b/protocols/EmLanProto/src/mlan.cpp
@@ -1394,12 +1394,12 @@ void CMLan::OnOutTCPConnection(u_long addr, SOCKET out_socket, LPVOID lpParamete
GetFullPathName(*pf, MAX_PATH, (char*)name, &filepart);
delete[] * pf;
*pf = _strdup(name);
- strcpy((char*)buf + len, filepart);
+ mir_strcpy((char*)buf + len, filepart);
len += (int)mir_strlen(filepart) + 1;
pf++;
}
- strcpy((char*)buf + len, conn->m_szDescription);
+ mir_strcpy((char*)buf + len, conn->m_szDescription);
len += (int)mir_strlen(conn->m_szDescription) + 1;
*((int*)(buf + 1)) = size;