diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-23 12:08:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-23 12:08:36 +0800 |
commit | 62b7098818afbfb19f13806ecbe011cda275a87e (patch) | |
tree | f519a921cdf3ffbed7762c63086b3769e8057968 /camel/providers/smtp/camel-smtp-transport.c | |
parent | e2dca55045e771cb9a27110bd7aea442717ba18e (diff) | |
download | gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.gz gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.zst gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.zip |
stuff dude
svn path=/trunk/; revision=3173
Diffstat (limited to 'camel/providers/smtp/camel-smtp-transport.c')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 0210f3d823..4678baf66d 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -588,7 +588,6 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, CamelException * { /* now we can actually send what's important :p */ gchar *cmdbuf, *respbuf = NULL; - CamelStream *message_stream; CamelStreamFilter *filtered_stream; CamelMimeFilterSmtp *mimefilter; gint id; @@ -618,13 +617,9 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, CamelException * return FALSE; } - /* now to send the actual data */ - message_stream = gtk_type_new(camel_stream_get_type()); - camel_data_wrapper_write_to_stream(CAMEL_DATA_WRAPPER(message), message_stream); - /* setup stream filtering */ mimefilter = camel_mime_filter_smtp_new(); - filtered_stream = camel_stream_filter_new_with_stream(message_stream); + filtered_stream = camel_stream_filter_new_with_stream(transport->ostream); id = camel_stream_filter_add(filtered_stream, CAMEL_MIME_FILTER(mimefilter)); if (camel_stream_write_to_stream(CAMEL_STREAM(filtered_stream), transport->ostream) == -1) { |