diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-11-04 18:25:24 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-11-04 18:25:24 +0100 |
commit | 28b37c1c8c9d798edfa65163f9f8d5d6e5628d2f (patch) | |
tree | 0680cb073e145d2e93ceca68b67d8056faf5f509 /sfeed_plain.c | |
parent | 5003c693a993833fdea2efe986dc59746a91959a (diff) |
whitespace and comment fix
Diffstat (limited to 'sfeed_plain.c')
-rw-r--r-- | sfeed_plain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_plain.c b/sfeed_plain.c index 142475c..7781f38 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -31,7 +31,7 @@ printfeed(FILE *fp, const char *feedname) parsedtime = 0; if (strtotime(fields[FieldUnixTimestamp], &parsedtime)) continue; - if (!(tm = localtime(&parsedtime))) + if (!(tm = localtime(&parsedtime))) err(1, "localtime"); if (parsedtime >= comparetime) @@ -44,7 +44,7 @@ printfeed(FILE *fp, const char *feedname) fputs(" ", stdout); } - fprintf(stdout, "%04d-%02d-%02d %02d:%02d ", + fprintf(stdout, "%04d-%02d-%02d %02d:%02d ", tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min); printutf8pad(stdout, fields[FieldTitle], 70, ' '); |