diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
commit | e0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch) | |
tree | 946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /plugins/exchange-operations/exchange-delegates-user.c | |
parent | 9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff) | |
download | gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.bz2 gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.lz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.xz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.zst gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.zip |
2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
Diffstat (limited to 'plugins/exchange-operations/exchange-delegates-user.c')
-rw-r--r-- | plugins/exchange-operations/exchange-delegates-user.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c index 8fa918f3a8..916498782b 100644 --- a/plugins/exchange-operations/exchange-delegates-user.c +++ b/plugins/exchange-operations/exchange-delegates-user.c @@ -421,10 +421,12 @@ exchange_delegates_user_edit (ExchangeAccount *account, delegate_exchange_dn = e2k_entryid_to_dn (user->entryid); recipient_address = email_look_up (delegate_exchange_dn,account); - addr = camel_internet_address_new (); - camel_address_decode (CAMEL_ADDRESS (addr), recipient_address); - camel_mime_message_set_recipients (delegate_mail, CAMEL_RECIPIENT_TYPE_TO, addr); - camel_object_unref (addr); + if (recipient_address) { + addr = camel_internet_address_new (); + camel_address_decode (CAMEL_ADDRESS (addr), recipient_address); + camel_mime_message_set_recipients (delegate_mail, CAMEL_RECIPIENT_TYPE_TO, addr); + camel_object_unref (addr); + } eaccount = exchange_account_fetch (account); if(eaccount) { |