diff options
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index b38f0abe12..2b203b98a8 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -205,10 +205,8 @@ itip_get_comp_attendee (ECalComponent *comp, ECal *client) /* We could not find the attendee in the component, so just give the default account address if the email address is not set in the backend */ /* FIXME do we have a better way ? */ - if (!(address && *address)) { - a = itip_addresses_get_default (); - address = g_strdup (a->id->address); - } + a = itip_addresses_get_default (); + address = g_strdup (a->id->address); e_cal_component_free_attendee_list (attendees); return address; |