diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-06-28 06:14:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-06-28 06:14:20 +0800 |
commit | 016826bc8a947b2ea0308971cb1ca355bef4aa47 (patch) | |
tree | 2db4c482f1fa79988958a2c256a7e657bfcd4f9e /camel/camel-internet-address.c | |
parent | 4cbcd49a8bed07221be190b80e84e23f0ad7d449 (diff) | |
download | gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.gz gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.zst gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.zip |
Use the new header_address_fold.
2001-06-27 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel/camel-internet-address.c')
-rw-r--r-- | camel/camel-internet-address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-internet-address.c b/camel/camel-internet-address.c index 5a72916ca9..c1ca4f8430 100644 --- a/camel/camel-internet-address.c +++ b/camel/camel-internet-address.c @@ -422,7 +422,7 @@ camel_internet_address_encode_address(int *inlen, const char *real, const char * if (name && name[0]) { if (strlen(name) + len > CAMEL_FOLD_SIZE) { - char *folded = header_fold(name, len); + char *folded = header_address_fold(name, len); char *last; g_string_append(out, folded); g_free(folded); |