From e1594a9f885d5c8ace887bf8846232a56aa09bae Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 26 Jul 1996 04:04:02 +0000 Subject: (fmt_past_time): Terminate SEPS. --- libshouldbeinlibc/timefmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libshouldbeinlibc/timefmt.c') diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c index 19a6a03a..21c5c79c 100644 --- a/libshouldbeinlibc/timefmt.c +++ b/libshouldbeinlibc/timefmt.c @@ -283,7 +283,7 @@ fmt_past_time (struct timeval *tv, struct timeval *now, { static char *time_fmts[] = { "%-r", "%-l:%M%p", "%-l%p", 0 }; static char *week_fmts[] = { "%A", "%a", 0 }; - static char *month_fmts[] = { "%A, %-d", "%a, %-d", "%a %-d", "%a%-d", 0 }; + static char *month_fmts[] = { "%A %-d", "%a %-d", "%a%-d", 0 }; static char *date_fmts[] = { "%A, %-d %B", "%a, %-d %b", "%-d %B", "%-d %b", "%-d%b", 0 }; static char *year_fmts[] = @@ -313,7 +313,7 @@ fmt_past_time (struct timeval *tv, struct timeval *now, } else { - static char *seps[] = { ", ", " ", "" }; + static char *seps[] = { ", ", " ", "", 0 }; char **fmt, **dfmt, **dfmts, **sep; if (diff < WEEK) -- cgit v1.2.3