From 25a68907a187eb4272ecd633051267176b5a87ae Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 22 Oct 2007 16:32:10 +0000 Subject: r16035@catbus: nickm | 2007-10-22 12:31:22 -0400 fix compile svn:r12105 --- src/or/directory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or') 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"; -- cgit v1.2.3