From 22efe2030901e7ef878c8ec358e819bbdb1239f6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 14 Jun 2011 12:28:16 -0400 Subject: [PATCH] Fix another check_private_dir instance in master --- src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rephist.c b/src/or/rephist.c index 3cc618547e..b4dbba763e 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; }