From 81842ec6fa7a3768b88ddbb6360e1c2e459882aa Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Tue, 12 Jul 2016 13:55:20 -0400 Subject: cppcheck: Fix syntax error for S_ISDIR. --- dpi/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3