diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a9f40e88e5..a53a19e408 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2480,7 +2480,7 @@ routerlist_reparse_old(routerlist_t * rl, signed_descriptor_t *sd) memcpy(&ri->cache_info, sd, sizeof(signed_descriptor_t)); if (sd->signed_descriptor_body) { /* Nasty, but we can't have it get freed. Do better. XXXX020 */ - ri->cache_info->signed_descriptor_body = + ri->cache_info.signed_descriptor_body = tor_strndup(sd->signed_descriptor_body, sd->signed_descriptor_len); } |