aboutsummaryrefslogtreecommitdiff
path: root/src/or/microdesc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-12-17 13:18:00 -0500
committerNick Mathewson <nickm@torproject.org>2013-12-17 13:18:00 -0500
commitadfcc1da4aac9766274275460fe2252bd9ffe4eb (patch)
tree9e4e7227f5f076f322990ee1c2e25fc8491d3eca /src/or/microdesc.c
parente6590efaa77c8cf186ce92e6ebad175e9c6450d1 (diff)
parent3d5154550c92766347631e4d15fae825a0f165dd (diff)
downloadtor-adfcc1da4aac9766274275460fe2252bd9ffe4eb.tar.gz
tor-adfcc1da4aac9766274275460fe2252bd9ffe4eb.zip
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts: src/or/microdesc.c Conflict because one change was on line adjacent to line where 01206893 got fixed.
Diffstat (limited to 'src/or/microdesc.c')
-rw-r--r--src/or/microdesc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c
index 7765d27da6..2bf6f54ab6 100644
--- a/src/or/microdesc.c
+++ b/src/or/microdesc.c
@@ -154,11 +154,10 @@ microdescs_add_to_cache(microdesc_cache_t *cache,
{
smartlist_t *descriptors, *added;
const int allow_annotations = (where != SAVED_NOWHERE);
- const int copy_body = (where != SAVED_IN_CACHE);
descriptors = microdescs_parse_from_string(s, eos,
allow_annotations,
- copy_body);
+ where);
if (listed_at != (time_t)-1) {
SMARTLIST_FOREACH(descriptors, microdesc_t *, md,
md->last_listed = listed_at);