diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-07-24 09:22:27 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-07-24 09:22:27 +0000 |
commit | dff1ef7d06d1f7e540be2b10e66538ab7eac3f76 (patch) | |
tree | ea39b55cfdaf59783ece60545f253951968d9d8e /src/or/dirserv.c | |
parent | ea95ce25b63e6a291d9c816308919caf887fa7ea (diff) | |
download | tor-dff1ef7d06d1f7e540be2b10e66538ab7eac3f76.tar.gz tor-dff1ef7d06d1f7e540be2b10e66538ab7eac3f76.zip |
r17337@aud-055: nickm | 2008-07-24 10:17:43 +0200
Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion. First part of implementing proposal 147.
svn:r16166
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 55a8f9eddf..04544d7f49 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2230,7 +2230,7 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_env_t *private_key, v3_out = tor_malloc_zero(sizeof(networkstatus_t)); - v3_out->is_vote = 1; + v3_out->type = NS_TYPE_VOTE; dirvote_get_preferred_voting_intervals(&timing); v3_out->published = now; { |