aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-15 22:53:03 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-15 22:53:03 +0800
commit01bff4baf00559f9cc6b3b78f7fd03a22d6ed327 (patch)
tree7041ac6fc401b3b76eefccdbec7fdc93a365f01b /mail/e-mail-session-utils.c
parenta6bce7b74b99cd8ade8280ca52fb968438e6bf78 (diff)
downloadgsoc2013-evolution-01bff4baf00559f9cc6b3b78f7fd03a22d6ed327.tar.gz
gsoc2013-evolution-01bff4baf00559f9cc6b3b78f7fd03a22d6ed327.tar.zst
gsoc2013-evolution-01bff4baf00559f9cc6b3b78f7fd03a22d6ed327.zip
Bug #634385 - Crash in smtp_connect
Diffstat (limited to 'mail/e-mail-session-utils.c')
-rw-r--r--mail/e-mail-session-utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/e-mail-session-utils.c b/mail/e-mail-session-utils.c
index 0df301f67f..f91bc73455 100644
--- a/mail/e-mail-session-utils.c
+++ b/mail/e-mail-session-utils.c
@@ -650,8 +650,12 @@ e_mail_session_send_to (EMailSession *session,
}
if (account != NULL) {
- if (account->transport != NULL)
+ if (account->transport != NULL) {
transport_uri = g_strdup (account->transport->url);
+
+ /* to reprompt password on sending if needed */
+ account->transport->get_password_canceled = FALSE;
+ }
sent_folder_uri = g_strdup (account->sent_folder_uri);
}