diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-09-28 22:58:58 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-09-28 22:58:58 +0000 |
commit | 14882b3ec0f3b3004ec3c7d6eb0c1c8ae92dc4e0 (patch) | |
tree | deeb1e12a0adfc8157d8f493183505769960819b /src/or | |
parent | af58c709512ce2ec41efc2153400bfbfdbee1812 (diff) | |
download | tor-14882b3ec0f3b3004ec3c7d6eb0c1c8ae92dc4e0.tar tor-14882b3ec0f3b3004ec3c7d6eb0c1c8ae92dc4e0.tar.gz |
r9770@danube: weasel | 2006-09-15 07:20:05 +0200
router_set_networkstatus() gets a list of status documents we asked for from
connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just
ask for "all". router_set_networkstatus() would freak out over that, meaning
it would log a warning and drop the status document instead of caching it
as it is supposed to. Now we let router_set_networkstatus() know if the
data comes from an all-request so it can do the right thing.
svn:r8513
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index d6c23c983..91b5322bc 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1025,8 +1025,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn) } else { /* Can we even end up here? -- weasel*/ source = NS_FROM_DIR_BY_FP; - log_warn(LD_BUG, "we received a networkstatus but we didn't ask" - "for it by fp/ or ask for all."); + log_warn(LD_BUG, "we received a networkstatus but we did neither ask" + "for it by fp/ nor did we ask for all."); } cp = body; while (*cp) { |