- 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.
if (circ->rend_data != NULL) {
smartlist_add_asprintf(descparts, "REND_QUERY=%s",
circ->rend_data->onion_address);
-
}
{
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 {