[tor-commits] [tor/master] Use x-lzma, not x-lzma2, as the identifier

nickm at torproject.org nickm at torproject.org
Tue Apr 25 23:00:56 UTC 2017


commit 2655a72d893a784bf9771a4b480efddd9417e4c0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Apr 25 19:00:52 2017 -0400

    Use x-lzma, not x-lzma2, as the identifier
---
 src/common/compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/compress.c b/src/common/compress.c
index 7266939..2e7412f 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 },
 



More information about the tor-commits mailing list