summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-04 19:26:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-04 19:26:46 +0000
commitfba57c10d9f9552c9c31c20283147348789ef650 (patch)
tree165c4c7ed8fad3c092bf455abf99af4a7a058383 /plugins/HTTPServer
parent73504917190e8d183212ec62ad1668d3e72901a7 (diff)
some code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer')
-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 651b74c867..f1f15fbc44 100644
--- a/plugins/HTTPServer/src/IndexHTML.cpp
+++ b/plugins/HTTPServer/src/IndexHTML.cpp
@@ -328,7 +328,7 @@ bool bCreateIndexHTML(const char * pszRealPath, const char * pszIndexPath,
if (pszTemp)
strcpy(szName, pszTemp + 1);
- if (strlen(szName) == 0)
+ if (szName[0] == '\0')
strcpy(szName, "my Miranda Webserver");
do {