aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-13 02:41:31 +0800
committerDan Winship <danw@src.gnome.org>2001-04-13 02:41:31 +0800
commitd7cd78ec3ba3a7fb8331dde5ea8118cb328726a9 (patch)
tree49870547057af4ea0ae51e0e7f1f02105b83e264
parentbac9ba32d86b8efe2df5ef08312061c93aa6c8b6 (diff)
downloadgsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar.gz
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar.bz2
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar.lz
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar.xz
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.tar.zst
gsoc2013-evolution-d7cd78ec3ba3a7fb8331dde5ea8118cb328726a9.zip
Don't printf NULL
* folder-browser.c (do_message_selected, on_message_selected): Don't printf NULL svn path=/trunk/; revision=9278
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser.c4
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);