aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/clean_asprintf2
-rw-r--r--src/or/control.c1
-rw-r--r--src/or/router.c3
3 files changed, 3 insertions, 3 deletions
diff --git a/changes/clean_asprintf b/changes/clean_asprintf
index 61382010e..ebaabd775 100644
--- a/changes/clean_asprintf
+++ b/changes/clean_asprintf
@@ -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. \ No newline at end of file
+ tor_asprintf.
diff --git a/src/or/control.c b/src/or/control.c
index 2548a5c20..1d2d8dd39 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -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);
-
}
{
diff --git a/src/or/router.c b/src/or/router.c
index f8aa1e3b0..0339e682a 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -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 {