aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-14 12:28:16 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-14 12:28:16 -0400
commit22efe2030901e7ef878c8ec358e819bbdb1239f6 (patch)
tree200b166a3606a94273dfebe4a60d271955095d92 /src/or/rephist.c
parent8839b86085dbb9ccf26165b6eae4d09462bc88b6 (diff)
downloadtor-22efe2030901e7ef878c8ec358e819bbdb1239f6.tar
tor-22efe2030901e7ef878c8ec358e819bbdb1239f6.tar.gz
Fix another check_private_dir instance in master
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 3cc618547..b4dbba763 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;
}