aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-10-10 15:58:56 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-10-10 15:58:56 +0800
commit816eb7545078d43caeba865ed1a5822555cd31a8 (patch)
tree80f9436b780403ce806588fb7d8c82763bfb99a2
parent3fa5c34a8f0d5194824b91ec89115bb6a9df9780 (diff)
downloadgsoc2013-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
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-session.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 567a5a2f6e..de2af048fa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2008-10-05 Sankar P <psankar@novell.com>
** Fix for bug #554349
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;