changeset 4638:863b7f606578

cppcheck: Fix syntax error for S_ISDIR.
author Jorge Arellano Cid <jcid@dillo.org>
date Di, 12 Jul 2016 13:55:20 -0400
parents 11315ccf3aee
children 8228a7b215bc
files dpi/file.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/file.c	So Jul 10 15:51:10 2016 +0200
+++ b/dpi/file.c	Di Jul 12 13:55:20 2016 -0400
@@ -353,7 +353,7 @@
    }
 
    /* 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";