Browse Source

Fix whitespace

Nick Mathewson 11 years ago
parent
commit
5898c09c3a
4 changed files with 5 additions and 3 deletions
  1. 1 1
      src/or/connection.c
  2. 1 0
      src/or/nodelist.c
  3. 2 2
      src/or/relay.c
  4. 1 0
      src/or/router.c

+ 1 - 1
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.
  *

+ 1 - 0
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;
   }
 }
+

+ 2 - 2
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.");

+ 1 - 0
src/or/router.c

@@ -2788,3 +2788,4 @@ router_get_all_orports(const routerinfo_t *ri)
 
   return sl;
 }
+