diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/folder-browser.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9ffe778c10..2883c49ebf 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-04-12 Dan Winship <danw@ximian.com> + * folder-browser.c (do_message_selected, on_message_selected): + Don't printf NULL + * mail-format.c (mail_part_is_inline): Don't leak memory. 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 2c1fd764b9..5e2673cc54 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -939,7 +939,7 @@ static void done_message_selected(CamelFolder *folder, char *uid, CamelMimeMessa static gboolean do_message_selected(FolderBrowser *fb) { - d(printf ("selecting uid %s (delayed)\n", fb->new_uid)); + d(printf ("selecting uid %s (delayed)\n", fb->new_uid ? fb->new_uid : "NONE")); /* keep polling if we are busy */ if (fb->reconfigure) { @@ -972,7 +972,7 @@ do_message_selected(FolderBrowser *fb) static void on_message_selected (MessageList *ml, const char *uid, FolderBrowser *fb) { - d(printf ("selecting uid %s (direct)\n", uid)); + d(printf ("selecting uid %s (direct)\n", uid ? uid : "NONE")); if (fb->loading_id != 0) gtk_timeout_remove(fb->loading_id); |