commit fc6c2a381742aba4deaf8538fa2c85750361a2d9
parent a6b8f513b92b52ce7462a0c61c7c4843e2f12618
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 27 Feb 2016 16:16:49 +0100
check <author><name> tag case-insensitively, just like the rest
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed.c b/sfeed.c
@@ -563,7 +563,7 @@ xml_handler_data(XMLParser *p, const char *s, size_t len)
/* add only data from <name> inside <author> tag
* or any other non-<author> tag */
- if (ctx.tagid != AtomTagAuthor || !strcmp(p->tag, "name"))
+ if (ctx.tagid != AtomTagAuthor || !strcasecmp(p->tag, "name"))
string_append(ctx.field, s, len);
}