Make sure that our destination string (dest_str) is not the empty string
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. svn path=/trunk/; revision=10880
This commit is contained in:
committed by
Jon Trowbridge
parent
b950c435e4
commit
622ee65eb6
@ -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.
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user