From af2d105e1e48c593e3536fecbd251671f81ccf9c Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 28 Jun 2014 15:27:29 +0200 Subject: xml: fix attribute without data: Signed-off-by: Hiltjo Posthuma --- xml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xml.c b/xml.c index 74b0f06..e402f8f 100644 --- a/xml.c +++ b/xml.c @@ -27,8 +27,7 @@ xmlparser_parseattrs(XMLParser *x) { if(isspace(c)) { /* TODO: simplify endname ? */ if(namelen) endname = 1; - else - continue; + continue; } if(c == '?') ; /* ignore */ -- cgit v1.2.3