From 84ad463749753e7ddfefe6a54f34cc8ed187d5da Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 15 Mar 2005 16:05:07 +0000 Subject: when publishing, the to_list will always be null so don't error out then 2005-03-15 JP Rosevear * gui/itip-utils.c (itip_send_comp): when publishing, the to_list will always be null so don't error out then svn path=/trunk/; revision=29026 --- calendar/ChangeLog | 5 +++++ calendar/gui/itip-utils.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e9ce944b24..f77b6ba688 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-03-15 JP Rosevear + + * gui/itip-utils.c (itip_send_comp): when publishing, the to_list + will always be null so don't error out then + 2005-03-13 JP Rosevear Fixes #73563 diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 63067aee7c..9cbdc6a438 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -916,11 +916,11 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, /* We sent them all via the server */ retval = TRUE; goto cleanup; + } else if (to_list == NULL || to_list->_length == 0) { + /* if we don't have recipients, return */ + retval = FALSE; + goto cleanup; } - } else if (to_list == NULL || to_list->_length == 0) { - /* if we don't have recipients, return */ - retval = FALSE; - goto cleanup; } cc_list = GNOME_Evolution_Composer_RecipientList__alloc (); -- cgit v1.2.3