summaryrefslogtreecommitdiff
path: root/sfeed_twtxt.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-11-04 18:25:24 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-11-04 18:25:24 +0100
commit28b37c1c8c9d798edfa65163f9f8d5d6e5628d2f (patch)
tree0680cb073e145d2e93ceca68b67d8056faf5f509 /sfeed_twtxt.c
parent5003c693a993833fdea2efe986dc59746a91959a (diff)
whitespace and comment fix
Diffstat (limited to 'sfeed_twtxt.c')
-rw-r--r--sfeed_twtxt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c
index 1d9d920..46f5066 100644
--- a/sfeed_twtxt.c
+++ b/sfeed_twtxt.c
@@ -27,10 +27,10 @@ printfeed(FILE *fp, const char *feedname)
parsedtime = 0;
if (strtotime(fields[FieldUnixTimestamp], &parsedtime))
continue;
- if (!(tm = gmtime(&parsedtime)))
+ if (!(tm = gmtime(&parsedtime)))
err(1, "localtime");
- fprintf(stdout, "%04d-%02d-%02dT%02d:%02d:%02dZ\t",
+ fprintf(stdout, "%04d-%02d-%02dT%02d:%02d:%02dZ\t",
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec);
if (feedname[0])