sfeed

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

commit 694176e019ed6e7a6651292799616d01e5f44921
parent b6672fe68a4793ef50d849fe4fece687d58f8217
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  5 Aug 2015 12:47:54 +0200

sfeed_plain: save a character before status

Diffstat:
Msfeed_plain.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_plain.c b/sfeed_plain.c @@ -44,9 +44,9 @@ printfeed(FILE *fp, const char *feedname) while (parseline(&line, &size, fields, fp) > 0) { if (strtotime(fields[FieldUnixTimestamp], &parsedtime) != -1 && parsedtime >= comparetime) - fputs(" N ", stdout); + fputs("N ", stdout); else - fputs(" ", stdout); + fputs(" ", stdout); if (feedname[0]) printf("%-15.15s ", feedname);