aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-16 04:40:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-16 04:40:16 +0800
commite538df8df12dc91d0f1974f91c537da291085c1e (patch)
tree291df0d165cdf69e94cdf71317abde1054949f72 /camel/providers/smtp
parent2a740f635076f37be1a5aec047ba3222bbe3d7ca (diff)
downloadgsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.gz
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.zst
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.zip
Get rid of the constant 'required' variable, just use the value when
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. svn path=/trunk/; revision=17465
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c4
1 files changed, 1 insertions, 3 deletions
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");