summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-08-03 13:30:09 +0100
committerRichard Hughes <richard@hughsie.com>2015-08-03 13:34:43 +0100
commit1caf5938041a187d570687cb6c4213e7762b704c (patch)
tree1eb7576dfe130c446178360c58676a389a92c9a7 /libappstream-builder
parent4e0bdce7148c9e85011c6ef07ea2745ad9d873d4 (diff)
downloadappstream-glib-1caf5938041a187d570687cb6c4213e7762b704c.tar.gz
Remove another length argument
As ebassi pointed out, gchar* is NUL-terminated by definition...
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/plugins/asb-plugin-ibus-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-ibus-xml.c b/libappstream-builder/plugins/asb-plugin-ibus-xml.c
index f14bc33..0638725 100644
--- a/libappstream-builder/plugins/asb-plugin-ibus-xml.c
+++ b/libappstream-builder/plugins/asb-plugin-ibus-xml.c
@@ -109,7 +109,7 @@ asb_plugin_process_filename (AsbPlugin *plugin,
}
/* parse contents */
- root = as_node_from_xml (valid_xml->str, -1,
+ root = as_node_from_xml (valid_xml->str,
AS_NODE_FROM_XML_FLAG_NONE,
error);
if (!ret)