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

nickm at torproject.org nickm at torproject.org
Mon Aug 27 14:53:41 UTC 2012


commit 5898c09c3ab6c20df822ea919fecc9420a48aa7b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 27 10:53:40 2012 -0400

    Fix whitespace
---
 src/or/connection.c |    2 +-
 src/or/nodelist.c   |    1 +
 src/or/relay.c      |    4 ++--
 src/or/router.c     |    1 +
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/or/connection.c b/src/or/connection.c
index c224496..7a39e5e 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -239,7 +239,7 @@ dir_connection_new(int socket_family)
 }
 
 /** Allocate and return a new or_connection_t, initialized as by
- * connection_init(). 
+ * connection_init().
  *
  * Set timestamp_last_added_nonpadding to now.
  *
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index dc1fb2f..26f1593 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -870,3 +870,4 @@ node_get_pref_ipv6_orport(const node_t *node, tor_addr_port_t *ap_out)
     ap_out->port = node->rs->ipv6_orport;
   }
 }
+
diff --git a/src/or/relay.c b/src/or/relay.c
index a866d2d..9012966 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1267,7 +1267,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
         if (layer_hint) {
           if (layer_hint->package_window + CIRCWINDOW_INCREMENT >
                 CIRCWINDOW_START_MAX) {
-            /* XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
+            /*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
             log_fn(LOG_WARN, LD_PROTOCOL,
                    "Bug/attack: unexpected sendme cell from exit relay. "
                    "Closing circ.");
@@ -1280,7 +1280,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
         } else {
           if (circ->package_window + CIRCWINDOW_INCREMENT >
                 CIRCWINDOW_START_MAX) {
-            /* XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
+            /*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
             log_fn(LOG_WARN, LD_PROTOCOL,
                    "Bug/attack: unexpected sendme cell from client. "
                    "Closing circ.");
diff --git a/src/or/router.c b/src/or/router.c
index 2131c2c..2cb0e26 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2788,3 +2788,4 @@ router_get_all_orports(const routerinfo_t *ri)
 
   return sl;
 }
+



More information about the tor-commits mailing list