From: Nick Mathewson Date: Tue, 27 Dec 2005 06:05:54 +0000 (+0000) Subject: Make directory caches a little less chatty when logging X-Git-Tag: tor-0.1.1.11-alpha~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ef54a3d0c90a9aa2d48b1129b21296cf8eba6a0;p=thirdparty%2Ftor.git Make directory caches a little less chatty when logging svn:r5662 --- 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) {