diff options
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 111075bfa..1d88ab6b7 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1929,11 +1929,12 @@ static xmlDoc *test_xslt_transforms(xmlDoc *doc, const char **params, char **err char *attribute; while (info->root) { - if ((strcasecmp(root_element->name, info->root) == 0)) + if ((strcasecmp(root_element->name, info->root) == 0)) { if (info->attribute == NULL) break; else if (xmlGetProp(root_element, info->attribute) != NULL) break; + } info++; } |