summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-05 21:39:29 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-05 21:39:29 +0000
commitc8a689c9e8ce3a03c5815da2535b56812450d5ae (patch)
treefd1d285c68f4cbd0669de559fd00ab4b391833eb /src/or/directory.c
parenta51deb9a9c7bf33ba353e008724c150bddde144b (diff)
downloadtor-c8a689c9e8ce3a03c5815da2535b56812450d5ae.tar.gz
tor-c8a689c9e8ce3a03c5815da2535b56812450d5ae.zip
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/directory.c')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 0a7c562fdd..7d731de2be 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -323,7 +323,7 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose,
}
if (DIR_PURPOSE_FETCH_CONSENSUS) {
- networkstatus_vote_t *v = networkstatus_get_latest_consensus();
+ networkstatus_t *v = networkstatus_get_latest_consensus();
if (v)
if_modified_since = v->valid_after + 180;
}
@@ -2272,7 +2272,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
else
request_type = "/tor/status/?";
} else {
- networkstatus_vote_t *v = networkstatus_get_latest_consensus();
+ networkstatus_t *v = networkstatus_get_latest_consensus();
time_t now = time(NULL);
smartlist_add(dir_fps, tor_memdup("\0\0\0\0\0\0\0\0\0\0"
"\0\0\0\0\0\0\0\0\0\0", 20));