diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-05 21:39:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-05 21:39:29 +0000 |
commit | c8a689c9e8ce3a03c5815da2535b56812450d5ae (patch) | |
tree | fd1d285c68f4cbd0669de559fd00ab4b391833eb /src/or/test.c | |
parent | a51deb9a9c7bf33ba353e008724c150bddde144b (diff) | |
download | tor-c8a689c9e8ce3a03c5815da2535b56812450d5ae.tar tor-c8a689c9e8ce3a03c5815da2535b56812450d5ae.tar.gz |
r17909@catbus: nickm | 2008-02-05 14:48:22 -0500
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete.
svn:r13383
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c index 918a72f25..e21cd37a5 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -2513,7 +2513,7 @@ test_v3_networkstatus(void) time_t now = time(NULL); networkstatus_voter_info_t *voter; - networkstatus_vote_t *vote, *v1, *v2, *v3, *con; + networkstatus_t *vote, *v1, *v2, *v3, *con; vote_routerstatus_t *vrs; routerstatus_t *rs; char *v1_text, *v2_text, *v3_text, *consensus_text, *cp; @@ -2543,7 +2543,7 @@ test_v3_networkstatus(void) /* * Set up a vote; generate it; try to parse it. */ - vote = tor_malloc_zero(sizeof(networkstatus_vote_t)); + vote = tor_malloc_zero(sizeof(networkstatus_t)); vote->is_vote = 1; vote->published = now; vote->valid_after = now+1000; @@ -2840,7 +2840,7 @@ test_v3_networkstatus(void) { char *consensus_text2, *consensus_text3; - networkstatus_vote_t *con2, *con3; + networkstatus_t *con2, *con3; char *detached_text1, *detached_text2; ns_detached_signatures_t *dsig1, *dsig2; const char *msg=NULL; |