diff options
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 4973c56dbc..73d369f31f 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -461,9 +461,7 @@ mail_send_message (CamelMimeMessage *message, const char *destination, xev = mail_tool_remove_xevolution_headers (message); - if (xev->transport) { - transport_url = g_strstrip (g_strdup (xev->transport)); - } else if (xev->account) { + if (xev->account) { const MailConfigAccount *account; char *name; @@ -473,6 +471,8 @@ mail_send_message (CamelMimeMessage *message, const char *destination, if (account && account->transport && account->transport->url) transport_url = g_strdup (account->transport->url); + } else if (xev->transport) { + transport_url = g_strstrip (g_strdup (xev->transport)); } if (xev->fcc) |