From e4a84251208083aed08739002de0719b6638518e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 14 Nov 2011 15:13:20 -0500 Subject: [PATCH] pull: Fix iteration over directories --- ostree/ot-builtin-pull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ostree/ot-builtin-pull.c b/ostree/ot-builtin-pull.c index 572b7a81..d7022190 100644 --- a/ostree/ot-builtin-pull.c +++ b/ostree/ot-builtin-pull.c @@ -173,6 +173,7 @@ store_tree_recurse (OstreeRepo *repo, goto out; } + n = g_variant_n_children (dirs_variant); for (i = 0; i < n; i++) { const char *dirname;