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 | |
parent | e2dca55045e771cb9a27110bd7aea442717ba18e (diff) | |
download | gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.gz gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.bz2 gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.lz gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.xz gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.tar.zst gsoc2013-evolution-62b7098818afbfb19f13806ecbe011cda275a87e.zip |
stuff dude
svn path=/trunk/; revision=3173
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 0fb32659a4..63b313c5e3 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -3,6 +3,9 @@ * camel-mime-filter-smtp.c: filter: Updated to check for \r's. + * providers/smtp/camel-smtp-transport.c: smtp_data: Fixed the + filtered stream + 2000-05-22 Jeffrey Stedfast <fejj@helixcode.com> * camel-mime-filter-from.c: Undid previous changes 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) { |