summaryrefslogtreecommitdiff
path: root/xlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlink.c')
-rw-r--r--xlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlink.c b/xlink.c
index 3566e06..c0e4ff3 100644
--- a/xlink.c
+++ b/xlink.c
@@ -150,7 +150,7 @@ xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) {
if (type != NULL) {
if (xmlStrEqual(type, BAD_CAST "simple")) {
ret = XLINK_TYPE_SIMPLE;
- } if (xmlStrEqual(type, BAD_CAST "extended")) {
+ } else if (xmlStrEqual(type, BAD_CAST "extended")) {
role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
if (role != NULL) {
xmlNsPtr xlink;