diff options
author | Roger Dingledine <arma@torproject.org> | 2007-11-26 02:18:57 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-11-26 02:18:57 +0000 |
commit | 91bb09cb28246f8ae2fe7525be61eba58f6bf814 (patch) | |
tree | 79b4b9bd822ec4b13565e6c765d70049ca6b4761 /src/or/directory.c | |
parent | 17393b835927cec5db32dce7af8f2f4721e9a71b (diff) | |
download | tor-91bb09cb28246f8ae2fe7525be61eba58f6bf814.tar.gz tor-91bb09cb28246f8ae2fe7525be61eba58f6bf814.zip |
Only update guard status (usable / not usable) once we have
enough directory information. This was causing us to always pick
two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
causing us to discard all our guards on startup if we hadn't been
running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
svn:r12570
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 34162ce6bc..4743f95782 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1181,7 +1181,7 @@ load_downloaded_routers(const char *body, smartlist_t *which, } /** We are a client, and we've finished reading the server's - * response. Parse and it and act appropriately. + * response. Parse it and act appropriately. * * If we're still happy with using this directory server in the future, return * 0. Otherwise return -1; and the caller should consider trying the request |