summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-11-14 15:13:20 -0500
committerColin Walters <walters@verbum.org>2011-11-14 15:13:20 -0500
commite4a84251208083aed08739002de0719b6638518e (patch)
treee4b00307f9631cc31ffb9cb216a13ea897c7908c
parenteae4e879c8409ccf88cff9354ce79d230a92ab44 (diff)
downloadostree-1.tar.gz
pull: Fix iteration over directories1
-rw-r--r--ostree/ot-builtin-pull.c1
1 files changed, 1 insertions, 0 deletions
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;