summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-07-31 21:56:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-07-31 21:56:31 +0200
commit36b8df117ebdaaffe653427d3b06ce737bb94fa8 (patch)
tree61eac739fea903874bfe60681b5712d348a10034
parenta1d56564fdf8aa700468fb9feebe9cb05e4ab584 (diff)
sfeed_mbox: dont decodefield anymore
-rw-r--r--sfeed_mbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index 880920d..fdcd17d 100644
--- 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);
}