diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-07-28 19:01:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-07-28 19:01:48 +0000 |
commit | 299af3d3936be134bb1965eb8bc52916fd90d76c (patch) | |
tree | d2547c2c3d897ab830046791fd9a21d7ff59b5a6 /src/or/hibernate.c | |
parent | c22bcecd839a86b9e1c07d942d47ee56d45a35d3 (diff) | |
download | tor-299af3d3936be134bb1965eb8bc52916fd90d76c.tar.gz tor-299af3d3936be134bb1965eb8bc52916fd90d76c.zip |
Possibly broken implementation of persistant state; handles helper nodes; does not handle accounting info yet.
svn:r4680
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index db9c108131..43f50e96c8 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -539,6 +539,9 @@ accounting_record_bandwidth_usage(time_t now) tor_snprintf(fname, sizeof(fname), "%s/bw_accounting", get_options()->DataDirectory); + + + return write_str_to_file(fname, buf, 0); } |