From b22b859dc522d08188213ddfae6bf91de027d51f Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 16 Oct 2015 11:03:53 +0200 Subject: [PATCH] deltas: Make min-fallback-size 0 actually disable fallbacks This is what the docs specify. --- src/libostree/ostree-repo-static-delta-compilation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 3fe856b2..d327d26f 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -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;