aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-08-31 02:03:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-08-31 02:03:19 +0800
commit89b04f0303c7de97e8e48343e3fdb18faa83853a (patch)
tree66ecec8bb9c984c80fa5ceacacf038af176b0b5b
parent531608c93b59be977f1a4ccd057c3c0f5f837cc4 (diff)
downloadgsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar.gz
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar.bz2
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar.lz
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar.xz
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.tar.zst
gsoc2013-evolution-89b04f0303c7de97e8e48343e3fdb18faa83853a.zip
make the sure to list is 0 length before sending via imip
2002-08-30 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): make the sure to list is 0 length before sending via imip svn path=/trunk/; revision=17935
-rw-r--r--calendar/gui/itip-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index b571459d7d..688c1c0f5a 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -814,7 +814,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
/* Recipients */
to_list = comp_to_list (method, comp, users);
- if (to_list == NULL)
+ if (to_list == NULL || to_list->_length == 0)
goto cleanup;
cc_list = GNOME_Evolution_Composer_RecipientList__alloc ();