summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index eda4be1970..5bb024ba7e 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1364,7 +1364,7 @@ getinfo_helper_dir(control_connection_t *control_conn,
signed_descriptor_get_annotations(&ri->cache_info);
if (annotations)
*answer = tor_strndup(annotations,
- ri->cache_info.signed_annotations_len);
+ ri->cache_info.annotations_len);
}
} else if (!strcmpstart(question, "dir/server/")) {
size_t answer_len = 0, url_len = strlen(question)+2;