diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-30 07:43:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-30 07:43:45 +0800 |
commit | a435c4730420ab3dd58275c63d4bebebdd7f7a51 (patch) | |
tree | aa045342228eefb98c3097dde2088774c55acff4 /mail/mail-ops.c | |
parent | b0fb89aeb6396090016a9bf550aa81b93b64b0f3 (diff) | |
download | gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar.gz gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar.bz2 gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar.lz gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar.xz gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.tar.zst gsoc2013-evolution-a435c4730420ab3dd58275c63d4bebebdd7f7a51.zip |
Make X-Evolution-Account take priority over X-Evolution-Transport. Should
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_message): Make X-Evolution-Account take
priority over X-Evolution-Transport. Should we just get rid of
X-Evolution-Transport? Anyways, this ought to fix a number of
complaints.
svn path=/trunk/; revision=15516
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) |