aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-01-12 18:04:17 +0000
committerNick Mathewson <nickm@torproject.org>2006-01-12 18:04:17 +0000
commit2dd566d5d589ca8e758e28d1ffb961b7d4975571 (patch)
treed325912376183d50d3ab1f27c5c4d66806337619 /src/or/routerparse.c
parent1f7ee33d1c30bf98181b48ebda26d0181994a08a (diff)
downloadtor-2dd566d5d589ca8e758e28d1ffb961b7d4975571.tar
tor-2dd566d5d589ca8e758e28d1ffb961b7d4975571.tar.gz
Indirect access to the signed_descriptor field to make it easier to keep them lazily on disk.
svn:r5827
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 01b239688..979ad22b0 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -745,7 +745,7 @@ router_parse_entry_from_string(const char *s, const char *end)
}
router = tor_malloc_zero(sizeof(routerinfo_t));
- router->cache_info.signed_descriptor = tor_strndup(s, end-s);
+ router->cache_info.signed_descriptor_body = tor_strndup(s, end-s);
router->cache_info.signed_descriptor_len = end-s;
memcpy(router->cache_info.signed_descriptor_digest, digest, DIGEST_LEN);