aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c8
1 files changed, 4 insertions, 4 deletions
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 ();