From a07cfcb2bd8587ab0f52ec5539b426bac27de30e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 30 Jul 2004 15:30:38 +0000 Subject: Similar fix as below in a later if-statement. Thanks to Suresh for 2004-07-30 Jeffrey Stedfast * camel-mime-utils.c (camel_header_encode_string): Similar fix as below in a later if-statement. Thanks to Suresh for spotting this one. svn path=/trunk/; revision=26776 --- camel/ChangeLog | 6 ++++++ camel/camel-mime-utils.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index f34886db48..8ca3c69459 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2004-07-30 Jeffrey Stedfast + + * camel-mime-utils.c (camel_header_encode_string): Similar fix as + below in a later if-statement. Thanks to Suresh for spotting this + one. + 2004-07-28 Jeffrey Stedfast * camel-mime-utils.c (camel_header_encode_string): Fixed an ABR diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 7bb0153094..798da0d3fd 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1379,7 +1379,7 @@ camel_header_encode_string (const unsigned char *in) last_was_space = FALSE; } - if (!camel_mime_is_lwsp (c) && !word) + if (!(c < 256 && camel_mime_is_lwsp (c)) && !word) word = inptr; inptr = newinptr; -- cgit