From 016826bc8a947b2ea0308971cb1ca355bef4aa47 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 27 Jun 2001 22:14:20 +0000 Subject: Use the new header_address_fold. 2001-06-27 Jeffrey Stedfast * camel-internet-address.c (camel_internet_address_encode_address): Use the new header_address_fold. * camel-mime-utils.c: Removed some old #if 0'd code of mine. (rfc2047_encode_word): If enclen is 0, don't write an encoded word token (=?iso-8859-7?Q??= would be an invalid token). (header_address_fold): New function to wrap address headers - header_fold() was force-wrapping rfc2047 encoded words which was making the test suite fail. The *real* solution, however, is to not create rfc2047 encoded words longer than 72 chars. svn path=/trunk/; revision=10545 --- camel/camel-mime-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-mime-utils.h') diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index 08755c47b1..c32485d000 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -145,6 +145,7 @@ void header_raw_clear(struct _header_raw **list); char *header_raw_check_mailing_list(struct _header_raw **list); /* fold a header */ +char *header_address_fold(const char *in, int headerlen); char *header_fold(const char *in, int headerlen); char *header_unfold(const char *in); -- cgit v1.2.3