diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-09 21:39:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-09 21:39:30 +0000 |
commit | 02ce8e6b12d023d9097a754c91e45a928dc9f4e4 (patch) | |
tree | 9d6b529b5c68a49777b9014a0ef60420a3d2249d /src/or/hibernate.c | |
parent | d62e37b4a9200c35f44176b6e3fd159f9d7d1ea2 (diff) | |
download | tor-02ce8e6b12d023d9097a754c91e45a928dc9f4e4.tar.gz tor-02ce8e6b12d023d9097a754c91e45a928dc9f4e4.zip |
r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500
We have a PATH_SEPARATOR macro. How about we use it?
svn:r9782
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index a3ea9cce0b..5ff2f5827b 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -588,7 +588,7 @@ accounting_record_bandwidth_usage(time_t now, or_state_t *state) U64_PRINTF_ARG(ROUND_UP(n_bytes_written_in_interval)), (unsigned long)n_seconds_active_in_interval, (unsigned long)expected); - tor_snprintf(fname, sizeof(fname), "%s/bw_accounting", + tor_snprintf(fname, sizeof(fname), "%s"PATH_SEPARATOR"bw_accounting", get_options()->DataDirectory); if (!get_options()->AvoidDiskWrites || (last_recorded + 3600 < now)) { r = write_str_to_file(fname, buf, 0); |