diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-02-15 22:18:26 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-02-15 22:18:26 +0800 |
commit | 86b1b3b4815a0743a3c6ac86d87f249fe51f5b99 (patch) | |
tree | 1eb35159ca86901bb66c7cc96546ac558ff80547 /calendar/gui | |
parent | 78d23b7801cae4f01216f7dd0c74a396fb31df5d (diff) | |
download | gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar.gz gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar.bz2 gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar.lz gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar.xz gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.tar.zst gsoc2013-evolution-86b1b3b4815a0743a3c6ac86d87f249fe51f5b99.zip |
Fixes #72038
2005-02-11 Rodrigo Moya <rodrigo@novell.com>
Fixes #72038
* gui/itip-utils.c (itip_send_comp): when we get no recipients, don't
send the message and return an error.
svn path=/trunk/; revision=28798
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/itip-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index a9fac69138..5b5091206b 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -918,6 +918,10 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, retval = TRUE; 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 (); |