summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmi Fischman <fischman@google.com>2013-07-02 09:47:26 +0800
committerDaniel Veillard <veillard@redhat.com>2013-07-02 09:47:26 +0800
commit33a25af71f78c370850a057f430d874710169a6f (patch)
tree6180cd84848335c7838e75bc7ba01ed334d160c2
parent6eea2f2c60e6a97491920cdf86b847869a2411dd (diff)
downloadlibxml2-33a25af71f78c370850a057f430d874710169a6f.tar.gz
missing else in xlink.c
Obviously forgotten
-rw-r--r--xlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlink.c b/xlink.c
index 3566e06f..c0e4ff32 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;