diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 6fab3aa989..0792c232e2 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> + * providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of + the constant 'required' variable, just use the value when calling + set_best_encoding. + * providers/local/camel-local-provider.c: Changed the mbox and spool provider descriptions to try and be more clear. I'm not sure I like the mention of Evolution in the mbox provider description, diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 1ef9ad041f..bc188ad6cf 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -1136,8 +1136,6 @@ smtp_rcpt (CamelSmtpTransport *transport, const char *recipient, CamelException static gboolean smtp_data (CamelSmtpTransport *transport, CamelMimeMessage *message, gboolean has_8bit_parts, CamelException *ex) { - /* now we can actually send what's important :p */ - CamelBestencRequired required = CAMEL_BESTENC_GET_ENCODING; CamelBestencEncoding enctype = CAMEL_BESTENC_8BIT; char *cmdbuf, *respbuf = NULL; CamelStreamFilter *filtered_stream; @@ -1156,7 +1154,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMimeMessage *message, gboolean ha within our required encoding type and also force any text parts with long lines (longer than 998 octets) to wrap by QP or base64 encoding them. */ - camel_mime_message_set_best_encoding (message, required, enctype); + camel_mime_message_set_best_encoding (message, CAMEL_BESTENC_GET_ENCODING, enctype); cmdbuf = g_strdup ("DATA\r\n"); |