[tor/master] Fix another check_private_dir instance in master

14 Jun
2011
14 Jun
'11
4:28 p.m.
commit 22efe2030901e7ef878c8ec358e819bbdb1239f6 Author: Nick Mathewson <nickm@torproject.org> Date: Tue Jun 14 12:28:16 2011 -0400 Fix another check_private_dir instance in master --- src/or/rephist.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/or/rephist.c b/src/or/rephist.c index 3cc6185..b4dbba7 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -2758,7 +2758,7 @@ rep_hist_conn_stats_write(time_t now) /* Try to write to disk. */ statsdir = get_datadir_fname("stats"); - if (check_private_dir(statsdir, CPD_CREATE) < 0) { + if (check_private_dir(statsdir, CPD_CREATE, get_options()->User) < 0) { log_warn(LD_HIST, "Unable to create stats/ directory!"); goto done; }
5106
Age (days ago)
5106
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org