sfeed

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

commit eabed01f8507fd75bda52d98ac6bc0d82a67d1b2
parent 39b6baa030996fbbc429a99d0274ca7a9917fb3a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 15 Mar 2020 15:00:15 +0100

sfeed_twtxt: fix error message if gmtime() fails, "localtime" -> "gmtime"

Diffstat:
Msfeed_twtxt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c @@ -28,7 +28,7 @@ printfeed(FILE *fp, const char *feedname) if (strtotime(fields[FieldUnixTimestamp], &parsedtime)) continue; if (!(tm = gmtime(&parsedtime))) - err(1, "localtime"); + err(1, "gmtime"); fprintf(stdout, "%04d-%02d-%02dT%02d:%02d:%02dZ\t", tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,