diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:39:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:39:39 +0000 |
commit | 6d32d9cb2d65c7851d87010e8971ddc271aa031b (patch) | |
tree | 524d29e6e65276e27368e40af851943b1b84755f /src/or/router.c | |
parent | 2bb5e642899ce55a5846f1bdab58f97bef7523f6 (diff) | |
download | tor-6d32d9cb2d65c7851d87010e8971ddc271aa031b.tar.gz tor-6d32d9cb2d65c7851d87010e8971ddc271aa031b.zip |
r12406@catbus: nickm | 2007-04-16 14:39:33 -0400
More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing.
svn:r9971
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index c7d3b4aac4..c93f40bca6 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -815,14 +815,14 @@ router_get_my_descriptor(void) } /** DOCDOC */ -const char * +extrainfo_t * router_get_my_extrainfo(void) { if (!server_mode(get_options())) return NULL; if (router_rebuild_descriptor(0)) return NULL; - return desc_extrainfo->cache_info.signed_descriptor_body; + return desc_extrainfo; } /** A list of nicknames that we've warned about including in our family |