summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-11-23 11:19:33 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-11-23 11:19:33 +0100
commit4d565772a6403bd54fde6219c343cbdf642bee04 (patch)
tree7f6bd420941b5c3e949d060d6e68a0a5c6f4e7ab
parent50fbf152edc0ba3a29d2cd8d5a0b949a706349b9 (diff)
code-style: define fieldmap in the same order as the enum declaration
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 9d04114..6042cb1 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -180,8 +180,8 @@ static int fieldmap[TagLast] = {
[RSSTagDescription] = FeedFieldContent,
[RSSTagContentEncoded] = FeedFieldContent,
[RSSTagGuid] = -1,
- [RSSTagGuidPermalinkTrue] = FeedFieldId, /* special-case: both a link and an id */
[RSSTagGuidPermalinkFalse] = FeedFieldId,
+ [RSSTagGuidPermalinkTrue] = FeedFieldId, /* special-case: both a link and an id */
[RSSTagLink] = FeedFieldLink,
[RSSTagEnclosure] = FeedFieldEnclosure,
[RSSTagAuthor] = FeedFieldAuthor,