diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-12-27 06:05:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-12-27 06:05:54 +0000 |
commit | 9ef54a3d0c90a9aa2d48b1129b21296cf8eba6a0 (patch) | |
tree | 56fffbbdd2398b94cbf29912d8685c900fb840f2 /src | |
parent | fa0d5aa89408c0f84f41e0126d50ac472bddfc84 (diff) | |
download | tor-9ef54a3d0c90a9aa2d48b1129b21296cf8eba6a0.tar.gz tor-9ef54a3d0c90a9aa2d48b1129b21296cf8eba6a0.zip |
Make directory caches a little less chatty when logging
svn:r5662
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 7fc1808b4d..a2336f8763 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -3448,6 +3448,8 @@ update_router_descriptor_cache_downloads(time_t now) continue; } smartlist_t *dl = download_from[i]; + if (! smartlist_len(dl)) + continue; info(LD_DIR, "Requesting %d descriptors from authority \"%s\"", smartlist_len(dl), ds->nickname); for (j=0; j < smartlist_len(dl); j += MAX_DL_PER_REQUEST) { |