summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/IndexHTML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HTTPServer/src/IndexHTML.cpp')
-rw-r--r--plugins/HTTPServer/src/IndexHTML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HTTPServer/src/IndexHTML.cpp b/plugins/HTTPServer/src/IndexHTML.cpp
index fb554acd65..6170657766 100644
--- a/plugins/HTTPServer/src/IndexHTML.cpp
+++ b/plugins/HTTPServer/src/IndexHTML.cpp
@@ -282,7 +282,7 @@ bool bCreateIndexHTML(const char * pszRealPath, const char * pszIndexPath,
// check if directory exists
char szMask[MAX_PATH];
- mir_snprintf(szMask, _countof(szMask), "%s%s", pszRealPath, "*");
+ mir_snprintf(szMask, _countof(szMask), "%s*", pszRealPath);
WIN32_FIND_DATAA fdFindFileData;
HANDLE hFind = FindFirstFile(szMask, &fdFindFileData);