mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Move a comment in router_get_my_descriptor to the correct line
This commit is contained in:
+1
-1
@@ -1781,9 +1781,9 @@ router_get_my_descriptor(void)
|
||||
const char *body;
|
||||
if (!router_get_my_routerinfo())
|
||||
return NULL;
|
||||
/* Make sure this is nul-terminated. */
|
||||
tor_assert(desc_routerinfo->cache_info.saved_location == SAVED_NOWHERE);
|
||||
body = signed_descriptor_get_body(&desc_routerinfo->cache_info);
|
||||
/* Make sure this is nul-terminated. */
|
||||
tor_assert(!body[desc_routerinfo->cache_info.signed_descriptor_len]);
|
||||
log_debug(LD_GENERAL,"my desc is '%s'", body);
|
||||
return body;
|
||||
|
||||
Reference in New Issue
Block a user