diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-21 09:01:31 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-21 09:01:31 +0800 |
commit | 93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420 (patch) | |
tree | 0bdf9fbae3f0233c657c48bbbfcaa14db7628e5b /mail | |
parent | f9719d4f0a8b7d44f784664ecf70cdd7c5e8e66d (diff) | |
download | gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar.gz gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar.bz2 gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar.lz gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar.xz gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.tar.zst gsoc2013-evolution-93bd7f1d38c9a2ce00858c0e35b4dd39ad58e420.zip |
Strip leading space from the transport url gotten from the message.
2001-01-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (do_send_queue): Strip leading space from the
transport url gotten from the message.
svn path=/trunk/; revision=7670
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 78a3e462cf..30bf75932e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-20 Jeffrey Stedfast <fejj@ximian.com> + + * mail-ops.c (do_send_queue): Strip leading space from the + transport url gotten from the message. + 2001-01-19 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_generate_reply): If the name is empty diff --git a/mail/mail-ops.c b/mail/mail-ops.c index dd14c320f1..8cd874f042 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -720,9 +720,12 @@ do_send_queue (gpointer in_data, gpointer op_data, CamelException *ex) camel_mime_message_set_date (message, CAMEL_MESSAGE_DATE_CURRENT, 0); /* Get the preferred transport URI */ - transport_url = g_strdup (camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Transport")); - if (transport_url) + transport_url = camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Transport"); + if (transport_url) { + transport_url = g_strdup (transport_url); + g_strstrip (transport_url); camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution-Transport"); + } xport = camel_session_get_transport (session, transport_url ? transport_url : input->xport_uri, ex); g_free (transport_url); |