summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-12-17 11:20:31 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2009-12-17 11:20:31 +0100
commit498c293afe3570210e964456e6cf5a8f315dbfc6 (patch)
tree3c84cad57e5354b7165ffc6ac596df587e403702 /src/or/rephist.c
parente1e5c1b3aba96afbd6fa3b5ece262720dd45a80e (diff)
downloadtor-498c293afe3570210e964456e6cf5a8f315dbfc6.tar.gz
tor-498c293afe3570210e964456e6cf5a8f315dbfc6.zip
Make changes to latest bridge-stats fixes as suggested by Nick.
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 36318c7558..681588bff7 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1377,7 +1377,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);
@@ -2734,7 +2734,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)