summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/mlan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/EmLanProto/src/mlan.cpp')
-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;