diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 89efea4808..bf6733120e 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +2001-07-07 Jon Trowbridge <trow@ximian.com> + + * e-msg-composer-hdrs.c (set_recipients): Make sure that our + destination string (dest_str) is not the empty string before we + try to use it. + 2001-07-06 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_manager_new): add missing static. diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 836ca2f4f8..e29f351fd5 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -647,7 +647,7 @@ set_recipients (CamelMimeMessage *msg, GtkWidget *entry_widget, const gchar *typ dest_str = e_destination_get_address_textv (destv); g_message ("destination is: %s", dest_str); - if (dest_str) { + if (dest_str && *dest_str) { addr = camel_internet_address_new (); camel_address_unformat (CAMEL_ADDRESS (addr), dest_str); |