From 89b04f0303c7de97e8e48343e3fdb18faa83853a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 30 Aug 2002 18:03:19 +0000 Subject: make the sure to list is 0 length before sending via imip 2002-08-30 JP Rosevear * gui/itip-utils.c (itip_send_comp): make the sure to list is 0 length before sending via imip svn path=/trunk/; revision=17935 --- calendar/gui/itip-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar') 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 (); -- cgit v1.2.3