diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-25 06:24:03 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-25 06:24:03 +0800 |
commit | 5c9bf39bb2b7a071ee71438b3f0730c26312c0a1 (patch) | |
tree | 00fcf70bc9081181959f06a7d080f62f2198f3df /camel/camel-mime-utils.c | |
parent | 443f0aba47fb02df592e43a5933b19dcb8b6021d (diff) | |
download | gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar.gz gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar.bz2 gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar.lz gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar.xz gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.tar.zst gsoc2013-evolution-5c9bf39bb2b7a071ee71438b3f0730c26312c0a1.zip |
oops, and just in case value is NULL...
svn path=/trunk/; revision=11363
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index f8e4745400..424234d600 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1970,7 +1970,7 @@ header_decode_param (const char **in, char **paramp, char **valuep, int *is_rfc2 } } - if (!g_utf8_validate (value, -1, NULL)) { + if (value && !g_utf8_validate (value, -1, NULL)) { /* The (broken) mailer sent us an unencoded 8bit value * attempt to save it by assuming it's in the user's * locale and converting to utf8 */ |