aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-07-29 22:24:10 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-07-29 22:24:10 +0800
commitb99bbc4232c9518907372abf722362d7dc11dd6a (patch)
tree29ff07c6984a7552245f7b9e0cd2f78fd22e48d7 /camel/camel-mime-utils.c
parentafcf6bb7def172903116c57ee13137347ede9bfd (diff)
downloadgsoc2013-evolution-b99bbc4232c9518907372abf722362d7dc11dd6a.tar.gz
gsoc2013-evolution-b99bbc4232c9518907372abf722362d7dc11dd6a.tar.zst
gsoc2013-evolution-b99bbc4232c9518907372abf722362d7dc11dd6a.zip
Fixed an ABR that may have been responsible for bug #62029.
2004-07-28 Jeffrey Stedfast <fejj@novell.com> * camel-mime-utils.c (camel_header_encode_string): Fixed an ABR that may have been responsible for bug #62029. svn path=/trunk/; revision=26769
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 6e7607f096..7bb0153094 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -1335,7 +1335,7 @@ camel_header_encode_string (const unsigned char *in)
continue;
}
- if (camel_mime_is_lwsp (c) && !last_was_space) {
+ if (c < 256 && camel_mime_is_lwsp (c) && !last_was_space) {
/* we've reached the end of a 'word' */
if (word && !(last_was_encoded && encoding)) {
/* output lwsp between non-encoded words */