summaryrefslogtreecommitdiff
path: root/src/common/compress.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 19:00:52 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 19:00:52 -0400
commit2655a72d893a784bf9771a4b480efddd9417e4c0 (patch)
tree9efe4f97b93846bd1be0adcecc3535a1e0032d9a /src/common/compress.c
parent0274ea749a6a1456d905878730c226985db183ad (diff)
downloadtor-2655a72d893a784bf9771a4b480efddd9417e4c0.tar.gz
tor-2655a72d893a784bf9771a4b480efddd9417e4c0.zip
Use x-lzma, not x-lzma2, as the identifier
Diffstat (limited to 'src/common/compress.c')
-rw-r--r--src/common/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compress.c b/src/common/compress.c
index 72669391bb..2e7412fd0d 100644
--- a/src/common/compress.c
+++ b/src/common/compress.c
@@ -285,7 +285,7 @@ static const struct {
} compression_method_names[] = {
{ "gzip", GZIP_METHOD },
{ "deflate", ZLIB_METHOD },
- { "x-lzma2", LZMA_METHOD },
+ { "x-lzma", LZMA_METHOD },
{ "x-zstd" , ZSTD_METHOD },
{ "identity", NO_METHOD },