summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/IndexHTML.cpp
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 /plugins/HTTPServer/src/IndexHTML.cpp
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 'plugins/HTTPServer/src/IndexHTML.cpp')
-rw-r--r--plugins/HTTPServer/src/IndexHTML.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HTTPServer/src/IndexHTML.cpp b/plugins/HTTPServer/src/IndexHTML.cpp
index a37ef808db..222e1bca5c 100644
--- a/plugins/HTTPServer/src/IndexHTML.cpp
+++ b/plugins/HTTPServer/src/IndexHTML.cpp
@@ -234,7 +234,7 @@ bool LoadIndexHTMLTemplate() {
//LogEvent("Template", szDestBuf);
szIndexHTMLTemplate = new char[mir_strlen(szDestBuf)+1];
- strcpy(szIndexHTMLTemplate, szDestBuf);
+ mir_strcpy(szIndexHTMLTemplate, szDestBuf);
}
CloseHandle(hFile);
@@ -329,7 +329,7 @@ bool bCreateIndexHTML(const char * pszRealPath, const char * pszIndexPath,
strncpy(szName, pszTemp + 1, SIZEOF(szName)-1);
if (szName[0] == '\0')
- strcpy(szName, "my Miranda Webserver");
+ mir_strcpy(szName, "my Miranda Webserver");
do {
switch (*pszPos) {
@@ -369,8 +369,8 @@ bool bCreateIndexHTML(const char * pszRealPath, const char * pszIndexPath,
}
if (hFind) {
- strcpy(szName, fdFindFileData.cFileName);
- strcpy(szURL, fdFindFileData.cFileName);
+ mir_strcpy(szName, fdFindFileData.cFileName);
+ mir_strcpy(szURL, fdFindFileData.cFileName);
/*char* pszTmp = szURL;
while(pszTmp = strchr(pszTmp, ' '))
*pszTmp = '+';*/