summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 6a68bf4954..a4ac19f6dc 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -920,7 +920,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
description1 = "as deflated";
else if (compression == GZIP_METHOD)
description1 = "as gzipped";
- else if (compression == 0)
+ else if (compression == NO_METHOD)
description1 = "as uncompressed";
else
description1 = "with an unknown Content-Encoding";