diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
commit | 9c6bce4c376a2add62ed8ce0b2fef36e171161ff (patch) | |
tree | f3646a6b4b71c555590f0205453bc4fc7767996d /calendar/gui/itip-utils.c | |
parent | 3c39e9cc89192c13787b7838b8054793ab624839 (diff) | |
download | gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.gz gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.zst gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.zip |
Fixes #332101
svn path=/trunk/; revision=32902
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index d522d58de1..aa77f91284 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -603,16 +603,18 @@ comp_to_list (ECalComponentItipMethod method, ECalComponent *comp, GList *users, break; case E_CAL_COMPONENT_METHOD_PUBLISH: if(users) { + GList *list; + len = g_list_length (users); to_list = GNOME_Evolution_Composer_RecipientList__alloc (); to_list->_maximum = len; to_list->_length = 0; to_list->_buffer = CORBA_sequence_GNOME_Evolution_Composer_Recipient_allocbuf (len); - for (l = users; l != NULL; l = l->next) { + for (list = users; list != NULL; list = list->next) { recipient = &(to_list->_buffer[to_list->_length]); recipient->name = CORBA_string_dup (""); - recipient->address = CORBA_string_dup (l->data); + recipient->address = CORBA_string_dup (list->data); to_list->_length++; } |