aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-19 08:22:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-19 08:22:29 +0800
commit5e96f5b6393b531f1f8d26a02e58e48d1ba4a973 (patch)
treec2754fd515ba68a173215bc997ddd1ec302ffd38 /camel/camel-mime-utils.c
parentc8ad537cb8040ac3c2de85695a8b38b92c441575 (diff)
downloadgsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar.gz
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar.bz2
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar.lz
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar.xz
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.tar.zst
gsoc2013-evolution-5e96f5b6393b531f1f8d26a02e58e48d1ba4a973.zip
Quote the param value if it contains whitespace as well.
2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_param_list_format_append): Quote the param value if it contains whitespace as well. svn path=/trunk/; revision=8804
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 edec357160..afc77fcf58 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -2391,7 +2391,7 @@ header_param_list_format_append(GString *out, struct _header_param *p)
g_string_sprintfa(out, "%s=", p->name);
for (ch = p->value; *ch; ch++) {
- if (is_tspecial(*ch))
+ if (is_tspecial (*ch) || is_lwsp (*ch))
break;
}
if (!*ch)