aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 13:07:17 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 13:07:17 +0000
commitbaa22cf17a8d1bea1c8e423d0c3ccf1c4a4df96b (patch)
treedd6df7b8a6ec0a0cbc3c693c2d0386cefdf0e0a8 /cfg.c
parent89efe119450c44b99e988ff4102fdd9c47cfbf70 (diff)
downloadlcd4linux-baa22cf17a8d1bea1c8e423d0c3ccf1c4a4df96b.tar.gz
add sample cfg for vnc driver, indent
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1006 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index 6843bd6..fe1a551 100644
--- a/cfg.c
+++ b/cfg.c
@@ -485,12 +485,12 @@ static int cfg_check_source(const char *file)
error("security error: owner and/or group of '%s' don't match", file);
error = -1;
}
-#if ! defined(__CYGWIN__)
+#if ! defined(__CYGWIN__)
if (stbuf.st_mode & S_IRWXG || stbuf.st_mode & S_IRWXO) {
error("security error: group or other have access to '%s'", file);
error = -1;
}
-#endif
+#endif
return error;
}