From 59e052b896dfdfd1c185d2f93b4a135de9bdb6ed Mon Sep 17 00:00:00 2001 From: David Stainton Date: Wed, 3 Sep 2014 17:22:15 +0000 Subject: [PATCH] Remove HiddenServiceDirGroupReadable from or_options_t ...and also fix whitespace. --- src/common/util.c | 4 ++-- src/or/or.h | 4 ---- 2 files changed, 2 insertions(+), 6 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; diff --git a/src/or/or.h b/src/or/or.h index 33a582ba7e..cbdc95efe1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4224,10 +4224,6 @@ typedef struct { /** Should we send the timestamps that pre-023 hidden services want? */ int Support022HiddenServices; - /** Create the Hidden Service directories - and hostname files group readable. */ - int HiddenServiceDirGroupReadable; - } or_options_t; /** Persistent state for an onion router, as saved to disk. */