From 6fcfba2c46a456677b5825a899469ba4e8905448 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 17:49:58 +0000 Subject: replace strncpy to mir_strncpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/HttpUser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HTTPServer/src/HttpUser.cpp') diff --git a/plugins/HTTPServer/src/HttpUser.cpp b/plugins/HTTPServer/src/HttpUser.cpp index e1398215bc..4c5604ea07 100644 --- a/plugins/HTTPServer/src/HttpUser.cpp +++ b/plugins/HTTPServer/src/HttpUser.cpp @@ -396,8 +396,8 @@ bool CLHttpUser::bProcessGetRequest(char * pszRequest, bool bIsGetCommand) { char* pszRealPath = pclCur->st.pszRealPath; if (pclCur->bIsDirectory()) { - strncpy(szRealPath, pclCur->st.pszRealPath, MAX_PATH); - strncpy(szSrvPath, pclCur->st.pszSrvPath, MAX_PATH); + mir_strncpy(szRealPath, pclCur->st.pszRealPath, MAX_PATH); + mir_strncpy(szSrvPath, pclCur->st.pszSrvPath, MAX_PATH); pszRealPath = szRealPath; pszSrvPath = szSrvPath; -- cgit v1.2.3