diff options
author | Colin Walters <walters@verbum.org> | 2012-05-14 15:49:49 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-05-18 16:30:44 -0400 |
commit | f95090095e3dae2dcb02bf78fe3bf641b8e3d9e8 (patch) | |
tree | a610edda696a40551821df28d716784575cce41b /src/ostree/ot-builtin-show.c | |
parent | cf53ed5cef32f5d952117aada44531ee1cabeae1 (diff) | |
download | ostree-f95090095e3dae2dcb02bf78fe3bf641b8e3d9e8.tar.gz |
core: Map metadata from repository as trusted
ot_util_variant_map() assumed untrusted; add a boolean, and use it for
the repository internals.
Diffstat (limited to 'src/ostree/ot-builtin-show.c')
-rw-r--r-- | src/ostree/ot-builtin-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c index a6fe3f43..8edc4c72 100644 --- a/src/ostree/ot-builtin-show.c +++ b/src/ostree/ot-builtin-show.c @@ -67,7 +67,7 @@ do_print_variant_generic (const GVariantType *type, f = ot_gfile_new_for_path (filename); - if (!ot_util_variant_map (f, type, &variant, error)) + if (!ot_util_variant_map (f, type, TRUE, &variant, error)) goto out; print_variant (variant); |