diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-25 09:54:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-25 10:50:50 -0400 |
commit | 4b01b45ec1a2d561eab8bf7d8934857268e48701 (patch) | |
tree | b8e193247fe1e7decf263bee8ad68e6f0a6133c2 /src/common/compress_lzma.c | |
parent | 880fb3e3a9aba21c0b36aa4aa5659432e90eb827 (diff) | |
download | tor-4b01b45ec1a2d561eab8bf7d8934857268e48701.tar.gz tor-4b01b45ec1a2d561eab8bf7d8934857268e48701.zip |
Add a "best compression" flag.
Diffstat (limited to 'src/common/compress_lzma.c')
-rw-r--r-- | src/common/compress_lzma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compress_lzma.c b/src/common/compress_lzma.c index 9c61d587ee..59b7df6e0c 100644 --- a/src/common/compress_lzma.c +++ b/src/common/compress_lzma.c @@ -32,6 +32,7 @@ memory_level(compression_level_t level) { switch (level) { default: + case BEST_COMPRESSION: case HIGH_COMPRESSION: return 9; case MEDIUM_COMPRESSION: return 6; case LOW_COMPRESSION: return 3; |