Browse Source

r17359@pc-10-8-1-079: nickm | 2008-07-25 16:42:48 +0200
whitespace fixes


svn:r16209

Nick Mathewson 17 years ago
parent
commit
016adc9a08
2 changed files with 2 additions and 3 deletions
  1. 0 2
      src/or/or.h
  2. 2 1
      src/or/routerlist.c

+ 0 - 2
src/or/or.h

@@ -1492,7 +1492,6 @@ typedef struct networkstatus_voter_info_t {
                                      * as good. */
                                      * as good. */
 } networkstatus_voter_info_t;
 } networkstatus_voter_info_t;
 
 
-
 /** Enumerates the possible seriousness values of a networkstatus document. */
 /** Enumerates the possible seriousness values of a networkstatus document. */
 typedef enum {
 typedef enum {
   NS_TYPE_VOTE,
   NS_TYPE_VOTE,
@@ -1503,7 +1502,6 @@ typedef enum {
 /** A common structure to hold a v3 network status vote, or a v3 network
 /** A common structure to hold a v3 network status vote, or a v3 network
  * status consensus. */
  * status consensus. */
 typedef struct networkstatus_t {
 typedef struct networkstatus_t {
-  // int is_vote; 
   networkstatus_type_t type; /**< Vote, consensus, or opinion? */
   networkstatus_type_t type; /**< Vote, consensus, or opinion? */
   time_t published; /**< Vote only: Tiem when vote was written. */
   time_t published; /**< Vote only: Tiem when vote was written. */
   time_t valid_after; /**< Time after which this vote or consensus applies. */
   time_t valid_after; /**< Time after which this vote or consensus applies. */

+ 2 - 1
src/or/routerlist.c

@@ -1714,7 +1714,8 @@ routerstatus_sl_choose_by_bandwidth(smartlist_t *sl)
  * a minimum uptime, return one of those.
  * a minimum uptime, return one of those.
  * If <b>CRN_NEED_CAPACITY</b> is set in flags, weight your choice by the
  * If <b>CRN_NEED_CAPACITY</b> is set in flags, weight your choice by the
  * advertised capacity of each router.
  * advertised capacity of each router.
- * If <b>CRN_ALLOW_INVALID</b> is not set in flags, consider only Valid routers.
+ * If <b>CRN_ALLOW_INVALID</b> is not set in flags, consider only Valid
+ * routers.
  * If <b>CRN_NEED_GUARD</b> is set in flags, consider only Guard routers.
  * If <b>CRN_NEED_GUARD</b> is set in flags, consider only Guard routers.
  * If <b>CRN_WEIGHT_AS_EXIT</b> is set in flags, we weight bandwidths as if
  * If <b>CRN_WEIGHT_AS_EXIT</b> is set in flags, we weight bandwidths as if
  * picking an exit node, otherwise we weight bandwidths for picking a relay
  * picking an exit node, otherwise we weight bandwidths for picking a relay