aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index ddba5e04ad..6bede24743 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -438,6 +438,9 @@ filter_date (const void *data)
time_t date = GPOINTER_TO_INT (data);
char buf[26], *p;
+ if (date == 0)
+ return g_strdup ("?");
+
ctime_r (&date, buf);
p = strchr (buf, '\n');
if (p)