summaryrefslogtreecommitdiff
path: root/sfeed.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-07-31 21:54:36 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-07-31 21:54:36 +0200
commita1d56564fdf8aa700468fb9feebe9cb05e4ab584 (patch)
tree2999b932bb321f34f1723805f8e6e6f3ca085c82 /sfeed.c
parent356e7d79925f91b9b703ee63e3680694c53a59a4 (diff)
update and improve documentation (WIP)
Diffstat (limited to 'sfeed.c')
-rw-r--r--sfeed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfeed.c b/sfeed.c
index 6c6e172..1d28e8e 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -601,9 +601,8 @@ xml_handler_start_element(XMLParser *p, const char *name, size_t namelen)
case AtomTagPublished:
case AtomTagUpdated:
/* prefer published over updated if set */
- if (ctx.tagid != AtomTagUpdated || !ctx.item.timestamp.len) {
+ if (ctx.tagid != AtomTagUpdated || !ctx.item.timestamp.len)
ctx.field = &ctx.item.timestamp;
- }
break;
case RSSTagTitle:
case AtomTagTitle: