summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-04 00:24:56 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-04 00:24:56 -0500
commit593909ea70db9c00d3ae6d3448fb096464e0853d (patch)
treec9d75e2b6792a50a6bb7c333a58ec6f108d46560 /src/or/directory.c
parent71355e1db937b0b940bb9510c927e3e500cabc22 (diff)
parentb10e5ac7b86c459a62cfc316c8be87143d2a87e4 (diff)
downloadtor-593909ea70db9c00d3ae6d3448fb096464e0853d.tar.gz
tor-593909ea70db9c00d3ae6d3448fb096464e0853d.zip
Merge remote-tracking branch 'public/bug13214_025_squashed'
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 35f8cbbd8a..df9e7f8ad3 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2082,7 +2082,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
(int)body_len, status_code, escaped(reason));
switch (status_code) {
case 200:
- switch (rend_cache_store_v2_desc_as_client(body, conn->rend_data)) {
+ switch (rend_cache_store_v2_desc_as_client(body,
+ conn->requested_resource, conn->rend_data)) {
case RCS_BADDESC:
case RCS_NOTDIR: /* Impossible */
log_warn(LD_REND,"Fetching v2 rendezvous descriptor failed. "