diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-30 00:39:29 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-30 07:03:25 +0000 |
commit | 38cced90ef62aff04477d1b814ab2ee3b7776638 (patch) | |
tree | d1d89ea3699720cb500d749bb5811641e83ddb7a /src/common/util.c | |
parent | dc37546cff2f025613ef142e74ad4db1c7d99ade (diff) | |
download | tor-38cced90ef62aff04477d1b814ab2ee3b7776638.tar.gz tor-38cced90ef62aff04477d1b814ab2ee3b7776638.zip |
Move unparseable descriptor dumps into subdirectory of DataDir
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index d4553c3942..d60380cb9b 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2086,9 +2086,9 @@ file_status(const char *fname) * When effective_user is not NULL, check permissions against the given user * and its primary group. */ -int -check_private_dir(const char *dirname, cpd_check_t check, - const char *effective_user) +MOCK_IMPL(int, +check_private_dir,(const char *dirname, cpd_check_t check, + const char *effective_user)) { int r; struct stat st; |