diff options
author | Ami Fischman <fischman@google.com> | 2013-07-02 09:47:26 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2013-07-02 09:47:26 +0800 |
commit | 33a25af71f78c370850a057f430d874710169a6f (patch) | |
tree | 6180cd84848335c7838e75bc7ba01ed334d160c2 | |
parent | 6eea2f2c60e6a97491920cdf86b847869a2411dd (diff) | |
download | libxml2-33a25af71f78c370850a057f430d874710169a6f.tar.gz |
missing else in xlink.c
Obviously forgotten
-rw-r--r-- | xlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |