]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove HiddenServiceDirGroupReadable from or_options_t
authorDavid Stainton <dstainton415@gmail.com>
Wed, 3 Sep 2014 17:22:15 +0000 (17:22 +0000)
committerDavid Stainton <dstainton415@gmail.com>
Wed, 3 Sep 2014 17:22:15 +0000 (17:22 +0000)
...and also fix whitespace.

src/common/util.c
src/or/or.h

index 791ca136c347d6fbab97369a2d7eacca0838d750..3f0493211272078b0cab570b26586bbeb16c9845 100644 (file)
@@ -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;
index 33a582ba7ea24b354a229452e5e6f337176886a7..cbdc95efe1e128614a711657915255ee7c526887 100644 (file)
@@ -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. */