[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] Be quieter about failing to decode authority digests



Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Mon, 25 Jan 2010 18:05:20 +0100
Subject: Be quieter about failing to decode authority digests
Commit: 7e89cc31ab16ea56a6ef45c16910c9adfe7a9d7a

This was freaking out some relay operators without good reason, as
it is nothing the relay operator can do anything about anyways.

Quieting this warning suggested by rieo.
---
 src/or/directory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 30c08b8..ef0816e 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2334,7 +2334,8 @@ client_likes_consensus(networkstatus_t *v, const char *want_url)
       want_len = DIGEST_LEN;
 
     if (base16_decode(want_digest, DIGEST_LEN, d, want_len*2) < 0) {
-      log_warn(LD_DIR,"Failed to decode requested authority digest %s.", d);
+      log_fn(LOG_PROTOCOL_WARN, LD_DIR,
+             "Failed to decode requested authority digest %s.", d);
       continue;
     };
 
-- 
1.6.5