Re: [evolution-patches] fix-309499



>                                 continue;               
>  
You must be checking for 'delegate' here.                       
> +                       if(attendee->delfrom && *attendee->delfrom)
> +                               attendee->delfrom = "";
> +       
>                         recipient = g_new0 (EGwItemRecipient, 1);
>  
>                         /* len (MAILTO:) + 1 = 7 */
> @@ -375,6 +378,9 @@ set_attendees_to_item (EGwItem *item, EC
>                         recipient_list = g_slist_append
> (recipient_list, recipient);
>                 }
>  
The attendee list needs to be set only if it had been modified.
So check if you had modified it first.
> +               /* Reset the ECalComponent with changes */
> +               e_cal_component_set_attendee_list (comp,
> attendee_list);        
> +       
>                 e_gw_item_set_recipient_list (item, recipient_list);
The attendee list should be freed using the
e_cal_component_free_attendee_list function.


Kindly submit the patch again with the suggested changes.

Harish




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]