aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2013-09-01 00:24:07 +0100
committerKevin Butler <haqkrs@gmail.com>2013-09-01 00:24:07 +0100
commit1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7 (patch)
tree1fc47f453def9cba2da8294236a26613ad0163bc /src/or/dirvote.c
parent00bcc25d05dc0273323a2cae20c6aa62afd4b50a (diff)
downloadtor-1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7.tar
tor-1bdb391ed0df979bc29ed1b62e7c0f3c9494a8d7.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 12ceba854..456a033ec 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);