mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
r14536@catbus: nickm | 2007-08-13 15:54:17 -0400
Make voting actually function. svn:r11088
This commit is contained in:
parent
89c65f2a4e
commit
2d07cce67f
@ -1967,8 +1967,8 @@ generate_networkstatus_vote_obj(crypto_pk_env_t *private_key,
|
|||||||
smartlist_free(routers);
|
smartlist_free(routers);
|
||||||
digestmap_free(omit_as_sybil, NULL);
|
digestmap_free(omit_as_sybil, NULL);
|
||||||
|
|
||||||
tor_assert(v3_out);
|
v3_out = tor_malloc_zero(sizeof(networkstatus_vote_t));
|
||||||
memset(v3_out, 0, sizeof(networkstatus_vote_t));
|
|
||||||
v3_out->is_vote = 1;
|
v3_out->is_vote = 1;
|
||||||
dirvote_get_preferred_voting_intervals(&timing);
|
dirvote_get_preferred_voting_intervals(&timing);
|
||||||
v3_out->published = now;
|
v3_out->published = now;
|
||||||
|
Loading…
Reference in New Issue
Block a user