aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-07-07 13:47:23 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-07-07 13:47:23 +0800
commit622ee65eb612e8f492b17538df95ed2e2d709466 (patch)
treeedcaccbc05f4adf1afc8d152c06cf283149b620f /composer/e-msg-composer-hdrs.c
parentb950c435e47637e109a1b5c4916024b5c7e322eb (diff)
downloadgsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar.gz
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar.bz2
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar.lz
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar.xz
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.tar.zst
gsoc2013-evolution-622ee65eb612e8f492b17538df95ed2e2d709466.zip
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
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c2
1 files changed, 1 insertions, 1 deletions
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);