From f2de79cb2eb8247548650ee80d75be109ac66ee7 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 16:25:49 +0000 Subject: replace strcat to mir_strcat git-svn-id: http://svn.miranda-ng.org/main/trunk@13777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/GuiElements.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HTTPServer/src/GuiElements.cpp') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index d936a59018..b2b67837ee 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -322,7 +322,7 @@ UINT_PTR CALLBACK ShareNewFileDialogHook( memmove(&szSelection[1], pszFolder, mir_strlen(pszFolder) + 1); szSelection[0] = '/'; if (szSelection[mir_strlen(szSelection)-1] != '/') - strcat(szSelection, "/"); + mir_strcat(szSelection, "/"); // only write to IDC_SHARE_NAME when a file / other folder was selected before if (!mir_strcmp(szSelection, pstShare->pszSrvPath)) @@ -353,7 +353,7 @@ UINT_PTR CALLBACK ShareNewFileDialogHook( if (pszTmp) { *pszTmp = '\0'; if (pstShare->pszSrvPath[mir_strlen(pstShare->pszSrvPath)-1] != '/') - strcat(pstShare->pszSrvPath, "/"); + mir_strcat(pstShare->pszSrvPath, "/"); } else { if (pstShare->pszSrvPath[mir_strlen(pstShare->pszSrvPath)-1] == '/') pstShare->pszSrvPath[mir_strlen(pstShare->pszSrvPath)-1] = '\0'; -- cgit v1.2.3