aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-filter-linewrap.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-12 06:30:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-12 06:30:51 +0800
commitde180f6cbbabda73d445f802e83e12696bffdab6 (patch)
treead2878824db97297218d37243c1c93a75f8d9b7e /camel/camel-mime-filter-linewrap.c
parent2415667b55dc62ef5e7eab157e0dde5ce71a9598 (diff)
downloadgsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar.gz
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar.bz2
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar.lz
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar.xz
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.tar.zst
gsoc2013-evolution-de180f6cbbabda73d445f802e83e12696bffdab6.zip
Fixes bug #27672
2002-07-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27672 * camel-mime-filter-bestenc.c: Conditionally #include <config.h> * camel-mime-filter-linewrap.c: Same here... although we could probably just get rid of this filter? We don't seem to use it anywhere since we try to QP/Base64 encode any text parts with long lines. Besides, we couldn't use this filter for SMTP anyway since we can't risk possibly linewrapping a binary mime part. I dunno, maybe this could be useful in the composer though? *shrug* * providers/smtp/camel-smtp-transport.c (smtp_data): Always call camel_mime_message_set_best_encoding() even if the server allows 8BITMIME and even if we don't have any 8bit parts because we may have parts with long lines (>998 octets) which also need to be encoded. * camel-mime-message.c (check_8bit): Don't forget to check for the binary encoding here as well. svn path=/trunk/; revision=17428
Diffstat (limited to 'camel/camel-mime-filter-linewrap.c')
-rw-r--r--camel/camel-mime-filter-linewrap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/camel-mime-filter-linewrap.c b/camel/camel-mime-filter-linewrap.c
index 44d4755efb..c9a741dacf 100644
--- a/camel/camel-mime-filter-linewrap.c
+++ b/camel/camel-mime-filter-linewrap.c
@@ -19,9 +19,16 @@
* Boston, MA 02111-1307, USA.
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
+
#include "camel-mime-filter-linewrap.h"
+
static void filter (CamelMimeFilter *f, char *in, size_t len, size_t prespace,
char **out, size_t *outlen, size_t *outprespace);
static void complete (CamelMimeFilter *f, char *in, size_t len,