summaryrefslogtreecommitdiff
blob: 2eeb23880ae242ee12b5945c6e874fe530f7dd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: src/dirtree.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/src/dirtree.c,v
retrieving revision 1.118
diff -u -r1.118 dirtree.c
--- src/dirtree.c	9 Sep 2003 01:04:26 -0000	1.118
+++ src/dirtree.c	28 Sep 2003 01:05:55 -0000
@@ -2136,7 +2136,7 @@
     else
       path = NULL;
 
-    if (path && *path) {
+    if (path) {
       if (*(path + strlen(path) - 1) == '*')
         *(path +strlen(path) - 1) = '\0';