diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/or.h | 2 | ||||
-rw-r--r-- | src/or/routerlist.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 80b384520..29b792555 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 c662aa2dc..66e80f2dc 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 |