aboutsummaryrefslogtreecommitdiffstats
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
parent2a740f635076f37be1a5aec047ba3222bbe3d7ca (diff)
downloadgsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.gz
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.bz2
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.lz
gsoc2013-evolution-e538df8df12dc91d0f1974f91c537da291085c1e.tar.xz
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
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c4
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");