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 c0e4ff3..3566e06 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;
- } else if (xmlStrEqual(type, BAD_CAST "extended")) {
+ } if (xmlStrEqual(type, BAD_CAST "extended")) {
role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
if (role != NULL) {
xmlNsPtr xlink;