summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/FileShareNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HTTPServer/src/FileShareNode.cpp')
-rw-r--r--plugins/HTTPServer/src/FileShareNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HTTPServer/src/FileShareNode.cpp b/plugins/HTTPServer/src/FileShareNode.cpp
index 5751dd60e2..3f344a35cf 100644
--- a/plugins/HTTPServer/src/FileShareNode.cpp
+++ b/plugins/HTTPServer/src/FileShareNode.cpp
@@ -207,11 +207,11 @@ bool CLFileShareNode::bSetPaths(char * pszSrvPath, char * pszRealPath) {
delete [] st.pszSrvPath;
delete [] st.pszRealPath;
- st.dwMaxSrvPath = (int)strlen(pszSrvPath) + 1;
+ st.dwMaxSrvPath = (int)mir_strlen(pszSrvPath) + 1;
st.pszSrvPath = new char[ st.dwMaxSrvPath ];
strcpy(st.pszSrvPath, pszSrvPath);
- int nRealLen = (int)strlen(pszRealPath);
+ int nRealLen = (int)mir_strlen(pszRealPath);
if (nRealLen <= 2 || !(pszRealPath[1] == ':' ||
(pszRealPath[0] == '\\' && pszRealPath[1] == '\\'))) {
// Relative path