summaryrefslogtreecommitdiff
path: root/sfeed.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-02-27 16:16:49 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-02-27 16:16:49 +0100
commitfc6c2a381742aba4deaf8538fa2c85750361a2d9 (patch)
tree76dd08cfa47538b86c1fb448cf6b6dc67c64941c /sfeed.c
parenta6b8f513b92b52ce7462a0c61c7c4843e2f12618 (diff)
check <author><name> tag case-insensitively, just like the rest
Diffstat (limited to 'sfeed.c')
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 20572c0..3534636 100644
--- 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);
}