Skip to content

Commit

Permalink
compress: "DeflateCompressor" is not compressor::none
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Dziepak <[email protected]>
  • Loading branch information
pdziepak committed Jun 29, 2015
1 parent 6dcf136 commit c51a430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compress.hh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public:
} else if (compressor_class == "SnappyCompressor") {
_compressor = compressor::snappy;
} else if (compressor_class == "DeflateCompressor") {
_compressor = compressor::none;
_compressor = compressor::deflate;
} else {
throw exceptions::configuration_exception(sstring("Unsupported compression class '") + compressor_class + "'.");
}
Expand Down

0 comments on commit c51a430

Please sign in to comment.