summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-08 21:48:14 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-08 21:48:14 +0000
commita5896504968030da2496e0675197f2cd17cdabb4 (patch)
tree0d5b62490f1070f182e2fa59c827e72448f58893
parent2a94c8b4934bbe5054c7b78bbb03223da4724205 (diff)
downloadtor-a5896504968030da2496e0675197f2cd17cdabb4.tar.gz
tor-a5896504968030da2496e0675197f2cd17cdabb4.zip
i like the name FetchUselessDescriptors better.
svn:r6327
-rw-r--r--src/or/config.c2
-rw-r--r--src/or/or.h2
-rw-r--r--src/or/routerlist.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 77f5a83f94..60bc653254 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -164,7 +164,7 @@ static config_var_t _option_vars[] = {
VAR("FastFirstHopPK", BOOL, FastFirstHopPK, "1"),
VAR("FetchServerDescriptors",BOOL, FetchServerDescriptors,"1"),
VAR("FetchHidServDescriptors",BOOL, FetchHidServDescriptors, "1"),
- VAR("FetchUselessRouters", BOOL, FetchUselessRouters, "0"),
+ VAR("FetchUselessDescriptors",BOOL, FetchUselessDescriptors, "0"),
VAR("Group", STRING, Group, NULL),
VAR("HardwareAccel", BOOL, HardwareAccel, "0"),
VAR("HashedControlPassword",STRING, HashedControlPassword, NULL),
diff --git a/src/or/or.h b/src/or/or.h
index 43a8ebfb3b..15b8d8e842 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1286,7 +1286,7 @@ typedef struct {
int PublishHidServDescriptors; /**< and our hidden service descriptors? */
int FetchServerDescriptors; /**< Do we fetch server descriptors as normal? */
int FetchHidServDescriptors; /** and hidden service descriptors? */
- int FetchUselessRouters; /**< Do we fetch non-running descriptors too? */
+ int FetchUselessDescriptors; /**< Do we fetch non-running descriptors too? */
int AllDirActionsPrivate; /**< Should every directory action be sent
* through a Tor circuit? */
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 53bca88459..43bd5740d1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3251,7 +3251,7 @@ client_would_use_router(routerstatus_t *rs, time_t now)
/* This one is too old to consider. */
return 0;
}
- if (!rs->is_running && !get_options()->FetchUselessRouters) {
+ if (!rs->is_running && !get_options()->FetchUselessDescriptors) {
/* If we had this router descriptor, we wouldn't even bother using it.
* But, if we want to have a complete list, fetch it anyway. */
return 0;