sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 36b8df117ebdaaffe653427d3b06ce737bb94fa8
parent a1d56564fdf8aa700468fb9feebe9cb05e4ab584
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 31 Jul 2015 21:56:31 +0200

sfeed_mbox: dont decodefield anymore

Diffstat:
Msfeed_mbox.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sfeed_mbox.c b/sfeed_mbox.c @@ -61,14 +61,14 @@ printfeed(FILE *fp, const char *feedname) if (!strcmp(fields[FieldContentType], "html")) { fputs("<p>Link: <a href=\"", stdout); - decodefield(fields[FieldLink], stdout, fputc); + print(fields[FieldLink], stdout, fputc); fputs("\">", stdout); - decodefield(fields[FieldLink], stdout, fputc); + print(fields[FieldLink], stdout, fputc); fputs("</a></p>\n\n", stdout); decodefield(fields[FieldContent], stdout, fputc); } else { fputs("Link: ", stdout); - decodefield(fields[FieldLink], stdout, fputc); + print(fields[FieldLink], stdout, fputc); fputs("\n\n", stdout); decodefield(fields[FieldContent], stdout, fputc); }