deltas: Make min-fallback-size 0 actually disable fallbacks

This is what the docs specify.
This commit is contained in:
Alexander Larsson committed 2015-11-10 08:56:14 +01:00
1 parent 78f14555c8
commit b22b859dc5
1 file changed
+1 -1
@@ -1085,7 +1085,7 @@ generate_delta_lowlatency (OstreeRepo *repo,
NULL, &uncompressed_size,
cancellable, error))
goto out;
if (builder->min_fallback_size_bytes >= 0 &&
if (builder->min_fallback_size_bytes > 0 &&
uncompressed_size > builder->min_fallback_size_bytes)
fallback = TRUE;