aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/message-list.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e7cd180fc1..54915334b7 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-06-02 Dan Winship <danw@helixcode.com>
+ * message-list.c (filter_date): If the date in the summary is 0,
+ output "?".
+
* component-factory.c (create_view): keep a GList of folder
browsers created
(owner_unset_cb): Go through the list and close each folder before
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)