summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-12 23:31:47 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-12 23:31:47 +0000
commit97571a1cb4049ce1c955533007d3299ab2f17b8c (patch)
treea27c5bf279e70c68f049b37b3057d0b1d4ca9f90 /src/or
parent98ec124c6adb32fbc6a5297da8e55abfa6cb04cc (diff)
downloadtor-97571a1cb4049ce1c955533007d3299ab2f17b8c.tar.gz
tor-97571a1cb4049ce1c955533007d3299ab2f17b8c.zip
don't tell ordinary users about broken directory servers.
it's a shame that they're broken, but most people are just confused by the warning. svn:r5988
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 82ac35a233..f9c10b7b7c 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -954,7 +954,8 @@ connection_dir_client_reached_eof(connection_t *conn)
/* If we're pretty sure that we have a compressed directory, and
* we didn't manage to uncompress it, then warn and bail. */
if (!plausible && !new_body) {
- warn(LD_HTTP, "Unable to decompress HTTP body (server '%s:%d').",
+ log(LOG_PROTOCOL_WARN, LD_HTTP,
+ "Unable to decompress HTTP body (server '%s:%d').",
conn->address, conn->port);
tor_free(body); tor_free(headers); tor_free(reason);
return -1;