From 07bec7e9f84a24801a92a877dd023e770e8e3058 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 10 Sep 2007 10:50:13 +0000 Subject: ** Fix for bug #301044 (Novell Bugzilla) svn path=/trunk/; revision=34213 --- plugins/exchange-operations/exchange-user-dialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/exchange-operations/exchange-user-dialog.c') 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); -- cgit v1.2.3