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_zstd.c | |
parent | 880fb3e3a9aba21c0b36aa4aa5659432e90eb827 (diff) | |
download | tor-4b01b45ec1a2d561eab8bf7d8934857268e48701.tar.gz tor-4b01b45ec1a2d561eab8bf7d8934857268e48701.zip |
Add a "best compression" flag.
Diffstat (limited to 'src/common/compress_zstd.c')
-rw-r--r-- | src/common/compress_zstd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compress_zstd.c b/src/common/compress_zstd.c index 76f2991e3d..58fa327571 100644 --- a/src/common/compress_zstd.c +++ b/src/common/compress_zstd.c @@ -33,6 +33,7 @@ memory_level(compression_level_t level) { switch (level) { default: + case BEST_COMPRESSION: case HIGH_COMPRESSION: return 9; case MEDIUM_COMPRESSION: return 8; case LOW_COMPRESSION: return 7; |