diff options
author | David Stainton <dstainton415@gmail.com> | 2014-09-03 17:22:15 +0000 |
---|---|---|
committer | David Stainton <dstainton415@gmail.com> | 2014-09-03 17:22:15 +0000 |
commit | 59e052b896dfdfd1c185d2f93b4a135de9bdb6ed (patch) | |
tree | 9c1256a165fc75a5ebf5713a9b07aed2cfe7e662 /src/common/util.c | |
parent | 7203040835f6b9379ab6c8a730a18409f07bfc53 (diff) | |
download | tor-59e052b896dfdfd1c185d2f93b4a135de9bdb6ed.tar.gz tor-59e052b896dfdfd1c185d2f93b4a135de9bdb6ed.zip |
Remove HiddenServiceDirGroupReadable from or_options_t
...and also fix whitespace.
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index 791ca136c3..3f04932112 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1988,8 +1988,8 @@ check_private_dir(const char *dirname, cpd_check_t check, tor_free(process_groupname); return -1; } - if(check & CPD_CHECK_MODE_ONLY) { - if(check & CPD_GROUP_OK || check & CPD_GROUP_READ) { + if (check & CPD_CHECK_MODE_ONLY) { + if (check & CPD_GROUP_OK || check & CPD_GROUP_READ) { if (!st.st_mode & 0027) { log_warn(LD_FS, "Incorrect permissions on directory %s a.", dirname); return -1; |