summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-second.h
diff options
context:
space:
mode:
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,