diff options
author | Kevin Butler <haqkrs@gmail.com> | 2013-09-01 00:24:07 +0100 |
---|---|---|
committer | Kevin Butler <haqkrs@gmail.com> | 2013-09-01 00:24:07 +0100 |
commit | 1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7 (patch) | |
tree | 1fc47f453def9cba2da8294236a26613ad0163bc /src/or/dirvote.c | |
parent | 00bcc25d05dc0273323a2cae20c6aa62afd4b50a (diff) | |
download | tor-1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7.tar.gz tor-1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7.zip |
Added no_tempfile parameter to write_chunks_to_file to do non-atomic writes. Implements #1376.
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 12ceba8549..456a033ec9 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -3143,7 +3143,7 @@ dirvote_compute_consensuses(void) }); votefile = get_datadir_fname("v3-status-votes"); - write_chunks_to_file(votefile, votestrings, 0); + write_chunks_to_file(votefile, votestrings, 0, 0); tor_free(votefile); SMARTLIST_FOREACH(votestrings, sized_chunk_t *, c, tor_free(c)); smartlist_free(votestrings); |