diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-10-13 17:06:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-15 15:17:13 -0400 |
commit | 851a980065e6b2df8d7cb35a22d0675b8918214b (patch) | |
tree | 46c56b5bf6fbecfda5b2b6d860593535279f59ea /src/or/control.c | |
parent | a19981725d167927d32ef2a31c7a7968be3d95b6 (diff) | |
download | tor-851a980065e6b2df8d7cb35a22d0675b8918214b.tar.gz tor-851a980065e6b2df8d7cb35a22d0675b8918214b.zip |
Actually remember all the consensus types when we are done generating them.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 67ee37ae52..554aef6b25 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1506,7 +1506,7 @@ getinfo_helper_dir(control_connection_t *control_conn, } } else if (!strcmp(question, "dir/status-vote/current/consensus")) { /* v3 */ if (directory_caches_dir_info(get_options())) { - const cached_dir_t *consensus = dirserv_get_consensus(); + const cached_dir_t *consensus = dirserv_get_consensus("ns"); if (consensus) *answer = tor_strdup(consensus->dir); } |