[ostree] pull: Fix iteration over directories



commit e4a84251208083aed08739002de0719b6638518e
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 14 15:13:20 2011 -0500

    pull: Fix iteration over directories

 ostree/ot-builtin-pull.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ostree/ot-builtin-pull.c b/ostree/ot-builtin-pull.c
index 572b7a8..d702219 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]