diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-08 08:22:34 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-08 08:22:34 +0800 |
commit | 4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4 (patch) | |
tree | a9d2bb46df75626d63016ee119ebf129647b6f7c /mail/mail-mt.c | |
parent | 1a02a9edf6d9f6c3dbb320578d95f73daada37e8 (diff) | |
download | gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.gz gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.zst gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.zip |
Check current_message for NULL - this fixes a bug running under SunOS (not
2001-02-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (set_view_data): Check current_message for NULL - this
fixes a bug running under SunOS (not a major deal tho as it's in a
debug printf).
svn path=/trunk/; revision=8093
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index c481d6c715..bec769b415 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -636,7 +636,7 @@ set_view_data(const char *current_message, int busy) printf("clearing msg\n"); GNOME_Evolution_ShellView_unsetMessage (shell_view_interface, &ev); } else { - printf("setting msg %s\n", current_message); + printf("setting msg %s\n", current_message ? current_message : "(null)"); GNOME_Evolution_ShellView_setMessage (shell_view_interface, current_message?current_message:"", busy, |