]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Be quieter about failing to decode authority digests
authorSebastian Hahn <sebastian@torproject.org>
Mon, 25 Jan 2010 17:05:20 +0000 (18:05 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Mon, 25 Jan 2010 17:05:20 +0000 (18:05 +0100)
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

index 30c08b84b246de0ad0c31914b29b7ef1bfe08f9e..ef0816eb41961c43553f30d7255ccbffbec0ec16 100644 (file)
@@ -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;
     };