projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Document more detail XML.
[pspp]
/
parse-xml.c
diff --git
a/parse-xml.c
b/parse-xml.c
index 3a32ee36e2731b317fe6a083b77b4d0f23373e80..9cf6694f91a008f64fef9f1a1dcb37192da289fb 100644
(file)
--- a/
parse-xml.c
+++ b/
parse-xml.c
@@
-164,7
+164,7
@@
print_element (xmlDoc *doc, xmlNode *node, const char *element)
{
for (; node; node = node->next)
{
- if (!strcmp(element, (char *) node->name))
+ if (
node->name &&
!strcmp(element, (char *) node->name))
{
xmlBuffer *buf = xmlBufferCreate();
xmlNodeDump (buf, doc, node, 0, 1);