Skip to content

Commit

Permalink
autoxflate: fix deflation on read
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsura authored and BareosBot committed Nov 10, 2023
1 parent 8dc7370 commit 06ead9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/stored/autoxflate/autoxflate-sd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static bRC handle_read_translation(PluginContext* ctx, void* value)
}

if (!record_was_swapped) {
if (AutoxflateModeContainsOut(dcr->autodeflate)) {
if (AutoxflateModeContainsIn(dcr->autodeflate)) {
record_was_swapped = AutoDeflateRecord(ctx, dcr);
}
}
Expand Down

0 comments on commit 06ead9e

Please sign in to comment.