summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/xml/xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index 6d1e8399..b07b1179 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -514,8 +514,8 @@ lasso_node_impl_init_from_xml(LassoNode *node, xmlNode *xmlnode)
*location = g_list_append(*location, n);
} else if (snippet->type == SNIPPET_LIST_CONTENT) {
GList **location = value;
- LassoNode *n = xmlNodeGetContent(t);
- *location = g_list_append(*location, n);
+ xmlChar *s = xmlNodeGetContent(t);
+ *location = g_list_append(*location, s);
}
break;
}