diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-11-23 18:05:20 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-11-24 16:15:11 +0100 |
commit | 1224147b051af726c8b33f34d37ef78015ed5b95 (patch) | |
tree | d3ceb40be47ba8243c73f750360077b68f6343f2 /metadata | |
parent | fe3351227e89f484cc636107566d7b9ceca6ebfe (diff) | |
download | gvfs-1224147b051af726c8b33f34d37ef78015ed5b95.tar.gz |
metadata: Fix bogus condition
The file->children condition is always true at this point,
child->children should be there instead in order to speed up
processing. This fix doesn't affect the functionality, it just
slightly improves processing.
https://bugzilla.gnome.org/show_bug.cgi?id=757747
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/metabuilder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/metabuilder.c b/metadata/metabuilder.c index 8bb0aa31..a8c8e3ef 100644 --- a/metadata/metabuilder.c +++ b/metadata/metabuilder.c @@ -784,7 +784,7 @@ write_children (GString *out, append_uint32 (out, 0, &child->metadata_pointer); append_time_t (out, child->last_changed, builder); - if (file->children) + if (child->children) g_queue_push_tail (files, child); } |