summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dpi/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/file.c b/dpi/file.c
index 00e10468..a0990c43 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -353,7 +353,7 @@ static void File_info2html(ClientInfo *client, FileInfo *finfo, int n)
}
/* we could note if it's a symlink... */
- if S_ISDIR (finfo->mode) {
+ if (S_ISDIR (finfo->mode)) {
filecont = "Directory";
} else if (finfo->mode & (S_IXUSR | S_IXGRP | S_IXOTH)) {
filecont = "Executable";