commit 4d565772a6403bd54fde6219c343cbdf642bee04
parent 50fbf152edc0ba3a29d2cd8d5a0b949a706349b9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 23 Nov 2021 11:19:33 +0100
code-style: define fieldmap in the same order as the enum declaration
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,