summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-second.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2013-05-09 05:59:01 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2013-05-09 05:59:01 +0000
commit3dd6bad228fa7d6a118c3f2ed06ca0ce4816b846 (patch)
tree7432fc63a0edc918ff58409b68ee42ca14c6ffbd /xdelta3/xdelta3-second.h
parentd9e99f91af7e5c52a9b5cbb998c26271249fe5b6 (diff)
Fix LZMA encoding / decoding
Diffstat (limited to 'xdelta3/xdelta3-second.h')
-rw-r--r--xdelta3/xdelta3-second.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/xdelta3-second.h b/xdelta3/xdelta3-second.h
index b9830ab..02e27f6 100644
--- a/xdelta3/xdelta3-second.h
+++ b/xdelta3/xdelta3-second.h
@@ -290,7 +290,7 @@ xd3_encode_secondary (xd3_stream *stream,
290 XD3_ASSERT (comp_size == xd3_sizeof_output (tmp_head)); 290 XD3_ASSERT (comp_size == xd3_sizeof_output (tmp_head));
291 XD3_ASSERT (tmp_tail != NULL); 291 XD3_ASSERT (tmp_tail != NULL);
292 292
293 if (comp_size < (orig_size - SECONDARY_MIN_SAVINGS)) 293 if (comp_size < (orig_size - SECONDARY_MIN_SAVINGS) || cfg->inefficient)
294 { 294 {
295 IF_DEBUG1(DP(RINT "secondary saved %u bytes: %u -> %u (%0.2f%%)\n", 295 IF_DEBUG1(DP(RINT "secondary saved %u bytes: %u -> %u (%0.2f%%)\n",
296 orig_size - comp_size, orig_size, comp_size, 296 orig_size - comp_size, orig_size, comp_size,