From: Roger Dingledine Date: Tue, 17 Nov 2009 12:39:15 +0000 (-0500) Subject: only complain when rejecting a descriptor if it has contact info X-Git-Tag: tor-0.2.2.6-alpha~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ebd22152eeb5a9dcfc1a8c508ebd57a836290e1;p=thirdparty%2Ftor.git only complain when rejecting a descriptor if it has contact info --- diff --git a/src/or/dirserv.c b/src/or/dirserv.c index d9a5decd6e..3700cd134e 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -523,7 +523,7 @@ authdir_wants_to_reject_router(routerinfo_t *ri, const char **msg, /* Okay. Now check whether the fingerprint is recognized. */ uint32_t status = dirserv_router_get_status(ri, msg); time_t now; - int severity = complain ? LOG_NOTICE : LOG_INFO; + int severity = (complain && ri->contact_info) ? LOG_NOTICE : LOG_INFO; tor_assert(msg); if (status & FP_REJECT) return -1; /* msg is already set. */