summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-06 15:37:51 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-06 15:37:51 +0000
commit9abfb564a04b498ae25a63746c72a21ee7f2dbc8 (patch)
treed970accb0a0035a61cbb0579565be99d8b6aa9cc /src/or/directory.c
parentd95b63f1e4492507b1950d74f7ec845a6786d80e (diff)
downloadtor-9abfb564a04b498ae25a63746c72a21ee7f2dbc8.tar.gz
tor-9abfb564a04b498ae25a63746c72a21ee7f2dbc8.zip
Make dirserv_get_routerdesc_fingerprints() treat extrainfos with send_unencrypted==0 correctly. Irrelevant, since we will soon never send them at all.
svn:r17953
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index d628035bb0..4baee04045 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2708,7 +2708,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
conn->fingerprint_stack = smartlist_create();
res = dirserv_get_routerdesc_fingerprints(conn->fingerprint_stack, url,
&msg,
- !connection_dir_is_encrypted(conn));
+ !connection_dir_is_encrypted(conn),
+ is_extra);
if (!strcmpstart(url, "fp/")) {
request_type = compressed?"/tor/server/fp.z":"/tor/server/fp";