aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-09-30 13:44:59 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-09-30 13:44:59 +0300
commit4673cb8168cbacd817c38c3f1ca5c9e88d10b053 (patch)
tree85b3eef72887195fcc80cfa42bf3edb404994b90 /src/lib/fs
parentffd857bbe125b6be442555079a15c896c0317c91 (diff)
parentfc1134e3e59df2ca473e787f70a57ebf659d78f2 (diff)
downloadtor-4673cb8168cbacd817c38c3f1ca5c9e88d10b053.tar.gz
tor-4673cb8168cbacd817c38c3f1ca5c9e88d10b053.zip
Merge branch 'tor-github/pr/1339'
Diffstat (limited to 'src/lib/fs')
-rw-r--r--src/lib/fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fs/dir.c b/src/lib/fs/dir.c
index 3c31e00d99..291f1bbf04 100644
--- a/src/lib/fs/dir.c
+++ b/src/lib/fs/dir.c
@@ -262,7 +262,7 @@ check_private_dir,(const char *dirname, cpd_check_t check,
}
}
close(fd);
-#else /* !(!defined(_WIN32)) */
+#else /* defined(_WIN32) */
/* Win32 case: we can't open() a directory. */
(void)effective_user;