From babf7873a3fe373d60ef22b1b671d98e014d8819 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:52:29 +0000 Subject: replace strcpy to mir_strcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/EmLanProto/src/mlan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/EmLanProto/src/mlan.cpp') 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; -- cgit v1.2.3