diff options
-rw-r--r-- | sfeed_mbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c index 7989d8e..911500f 100644 --- a/sfeed_mbox.c +++ b/sfeed_mbox.c @@ -89,8 +89,8 @@ printfeed(FILE *fp, const char *feedname) /* can't convert: default to formatted time for time_t 0. */ if (!gmtime_r(&parsedtime, &tm) || !strftime(timebuf, sizeof(timebuf), - "%a, %d %b %Y %H:%M +0000", &tm)) - strlcpy(timebuf, "Thu, 01 Jan 1970 00:00 +0000", + "%a, %d %b %Y %H:%M:%S +0000", &tm)) + strlcpy(timebuf, "Thu, 01 Jan 1970 00:00:00 +0000", sizeof(timebuf)); /* mbox + mail header */ |