mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
whitespace fixes
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
- Use the smartlist_add_asprintf alias more consistently
|
||||
throughout the codebase.
|
||||
- Convert more instances of tor_snprintf+tor_strdup into
|
||||
tor_asprintf.
|
||||
tor_asprintf.
|
||||
|
||||
@@ -1815,7 +1815,6 @@ circuit_describe_status_for_controller(origin_circuit_t *circ)
|
||||
if (circ->rend_data != NULL) {
|
||||
smartlist_add_asprintf(descparts, "REND_QUERY=%s",
|
||||
circ->rend_data->onion_address);
|
||||
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
+2
-1
@@ -1973,7 +1973,8 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
|
||||
format_iso_time(published, router->cache_info.published_on);
|
||||
|
||||
if (router->declared_family && smartlist_len(router->declared_family)) {
|
||||
char *family = smartlist_join_strings(router->declared_family, " ", 0, NULL);
|
||||
char *family = smartlist_join_strings(router->declared_family,
|
||||
" ", 0, NULL);
|
||||
tor_asprintf(&family_line, "family %s\n", family);
|
||||
tor_free(family);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user