projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9342bfb
)
oops, and just in case value is NULL...
author
Jeffrey Stedfast
<fejj@src.gnome.org>
Tue, 24 Jul 2001 22:24:03 +0000
(22:24 +0000)
committer
Jeffrey Stedfast
<fejj@src.gnome.org>
Tue, 24 Jul 2001 22:24:03 +0000
(22:24 +0000)
camel/camel-mime-utils.c
patch
|
blob
|
history
diff --git
a/camel/camel-mime-utils.c
b/camel/camel-mime-utils.c
index
f8e4745
..
424234d
100644
(file)
--- 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 */