diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-01-12 18:04:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-01-12 18:04:17 +0000 |
commit | 2dd566d5d589ca8e758e28d1ffb961b7d4975571 (patch) | |
tree | d325912376183d50d3ab1f27c5c4d66806337619 /src/or/routerparse.c | |
parent | 1f7ee33d1c30bf98181b48ebda26d0181994a08a (diff) | |
download | tor-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.c | 2 |
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); |