diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-22 16:32:10 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-22 16:32:10 +0000 |
commit | 25a68907a187eb4272ecd633051267176b5a87ae (patch) | |
tree | d9b2e2b6f2615eeaaffc7f74433042d4155563ed /src/or/directory.c | |
parent | f06ac50d45e06fd7287db5f9bada2f1f261fabd2 (diff) | |
download | tor-25a68907a187eb4272ecd633051267176b5a87ae.tar tor-25a68907a187eb4272ecd633051267176b5a87ae.tar.gz |
r16035@catbus: nickm | 2007-10-22 12:31:22 -0400
fix compile
svn:r12105
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 078c5078e..d5193556c 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2111,7 +2111,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, else request_type = "/tor/status/?"; } else { - networkstatus_vote_t *v = networkstatus_get_current_consensus(); + networkstatus_vote_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)); request_type = deflated?"v3.z":"v3"; |