aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-user-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-user-dialog.c')
-rw-r--r--plugins/exchange-operations/exchange-user-dialog.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-user-dialog.c b/plugins/exchange-operations/exchange-user-dialog.c
index 7668a22f31..75053af240 100644
--- a/plugins/exchange-operations/exchange-user-dialog.c
+++ b/plugins/exchange-operations/exchange-user-dialog.c
@@ -250,8 +250,12 @@ e2k_user_dialog_get_user_list (E2kUserDialog *dialog)
return NULL;
for (l = destinations; l; l = g_list_next (l)) {
+ char *mail;
destination = l->data;
- email_list = g_list_prepend (email_list, g_strdup (e_destination_get_email (destination)));
+
+ mail = e_destination_get_email (destination);
+ if (mail && *mail)
+ email_list = g_list_prepend (email_list, g_strdup (mail));
}
g_list_free (destinations);