summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-07-25 14:47:19 +0000
committerNick Mathewson <nickm@torproject.org>2008-07-25 14:47:19 +0000
commit016adc9a08bdccf395b41709b5b534edf2298f6e (patch)
tree46eec924e385ae4c70d4f278c4653692c2613d7b
parent9da0482007cada9ff7da4ef2035bb0e7ed2d0ee5 (diff)
downloadtor-016adc9a08bdccf395b41709b5b534edf2298f6e.tar.gz
tor-016adc9a08bdccf395b41709b5b534edf2298f6e.zip
r17359@pc-10-8-1-079: nickm | 2008-07-25 16:42:48 +0200
whitespace fixes svn:r16209
-rw-r--r--src/or/or.h2
-rw-r--r--src/or/routerlist.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 80b3845200..29b792555e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1492,7 +1492,6 @@ typedef struct networkstatus_voter_info_t {
* as good. */
} networkstatus_voter_info_t;
-
/** Enumerates the possible seriousness values of a networkstatus document. */
typedef enum {
NS_TYPE_VOTE,
@@ -1503,7 +1502,6 @@ typedef enum {
/** A common structure to hold a v3 network status vote, or a v3 network
* status consensus. */
typedef struct networkstatus_t {
- // int is_vote;
networkstatus_type_t type; /**< Vote, consensus, or opinion? */
time_t published; /**< Vote only: Tiem when vote was written. */
time_t valid_after; /**< Time after which this vote or consensus applies. */
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index c662aa2dc5..66e80f2dce 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1714,7 +1714,8 @@ routerstatus_sl_choose_by_bandwidth(smartlist_t *sl)
* a minimum uptime, return one of those.
* If <b>CRN_NEED_CAPACITY</b> is set in flags, weight your choice by the
* 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_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