diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-27 16:16:49 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-27 16:16:49 +0100 |
commit | fc6c2a381742aba4deaf8538fa2c85750361a2d9 (patch) | |
tree | 76dd08cfa47538b86c1fb448cf6b6dc67c64941c | |
parent | a6b8f513b92b52ce7462a0c61c7c4843e2f12618 (diff) |
check <author><name> tag case-insensitively, just like the rest
-rw-r--r-- | sfeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |