[tor-commits] [tor/master] whitespace fixes

nickm at torproject.org nickm at torproject.org
Mon Jan 16 20:06:33 UTC 2012


commit 5579bc0eafc7ef426922e23340a5f885f8e8d4e9
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jan 11 14:53:17 2012 -0500

    whitespace fixes
---
 changes/clean_asprintf |    2 +-
 src/or/control.c       |    1 -
 src/or/router.c        |    3 ++-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/changes/clean_asprintf b/changes/clean_asprintf
index 6138201..ebaabd7 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 2548a5c..1d2d8dd 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 f8aa1e3..0339e68 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 {





More information about the tor-commits mailing list