summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-12-18 14:16:41 -0500
committerNick Mathewson <nickm@torproject.org>2009-12-18 14:16:41 -0500
commit7edae5898416dbd291d9e5e9f75e0b24153e73ea (patch)
tree36a53ab9ee4c2c5ebbaa9ae0301c8b3bf844beeb /src/or/rephist.c
parentf711bc822156f07de92503e177fbde520f4b6335 (diff)
parent3a5a728d4a5490ac24819df54aca4a7d0dde0d10 (diff)
downloadtor-7edae5898416dbd291d9e5e9f75e0b24153e73ea.tar.gz
tor-7edae5898416dbd291d9e5e9f75e0b24153e73ea.zip
Merge commit 'karsten/fix-bridge-stats-master-4'
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index af7a2157f0..7f71dc0fba 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1375,7 +1375,7 @@ rep_hist_exit_stats_write(time_t now)
statsdir = get_datadir_fname("stats");
if (check_private_dir(statsdir, CPD_CREATE) < 0)
goto done;
- filename = get_datadir_fname("stats"PATH_SEPARATOR"exit-stats");
+ filename = get_datadir_fname2("stats", "exit-stats");
format_iso_time(t, now);
log_info(LD_HIST, "Writing exit port statistics to disk for period "
"ending at %s.", t);
@@ -2180,7 +2180,7 @@ rep_hist_buffer_stats_write(time_t now)
statsdir = get_datadir_fname("stats");
if (check_private_dir(statsdir, CPD_CREATE) < 0)
goto done;
- filename = get_datadir_fname("stats"PATH_SEPARATOR"buffer-stats");
+ filename = get_datadir_fname2("stats", "buffer-stats");
out = start_writing_to_stdio_file(filename, OPEN_FLAGS_APPEND,
0600, &open_file);
if (!out)