diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-03-23 20:21:54 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-03-23 20:21:54 +0000 |
commit | 444e3b8eb2b3f80f85b50de0db816a5204c7d33f (patch) | |
tree | db9b2a0b0aaac6140949a69a7591c20619c6ab69 /src | |
parent | 5b87b0bf55ba5f78777bb055182e5f1fd9d577a7 (diff) | |
download | tor-444e3b8eb2b3f80f85b50de0db816a5204c7d33f.tar.gz tor-444e3b8eb2b3f80f85b50de0db816a5204c7d33f.zip |
Note a magic 2 that probably should be replaced now that we have more dirservers
svn:r6232
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index e5c806af1f..da8c0e92c5 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -3466,6 +3466,9 @@ update_router_descriptor_client_downloads(time_t now) "Called router_descriptor_client_downloads() on a mirror?"); } + /* XXX here's another magic 2 that probably should be replaced + * by <= smartlist_len(trusted_dir_servers)/2 + * or by a function returning same. -- weasel */ if (networkstatus_list && smartlist_len(networkstatus_list) < 2) { log_info(LD_DIR, "Not enough networkstatus documents to launch requests."); |