diff options
author | Bharath Acharya <abharath@novell.com> | 2008-10-10 15:58:56 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-10-10 15:58:56 +0800 |
commit | 816eb7545078d43caeba865ed1a5822555cd31a8 (patch) | |
tree | 80f9436b780403ce806588fb7d8c82763bfb99a2 /mail/mail-session.c | |
parent | 3fa5c34a8f0d5194824b91ec89115bb6a9df9780 (diff) | |
download | gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar.gz gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar.bz2 gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar.lz gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar.xz gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.tar.zst gsoc2013-evolution-816eb7545078d43caeba865ed1a5822555cd31a8.zip |
** Fix for bug #555203
2008-10-07 Bharath Acharya <abharath@novell.com>
** Fix for bug #555203
* mail-session.c: (get_password): Use the url value in cases
where the account goes NULL. Fixes the issue of Exchange not sending
mails, because it does not have a valid transport url to use.
svn path=/trunk/; revision=36585
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index 9009bb607b..0a5b9244d5 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -178,6 +178,8 @@ get_password (CamelSession *session, CamelService *service, const char *domain, if (url && (account = mail_config_get_account_by_transport_url(url))) ret = g_strdup(account->source->url); + else + ret = g_strdup(url); } else { char *key = make_key(service, item); EAccountService *config_service = NULL; |