aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procheader.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-05-16 05:42:21 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-05-16 05:42:21 +0000
commite7e717c4ee877a009657e2f971a5c188daf55701 (patch)
tree197affe3ea00b7460b09f4141148ca5d5805bc7a /libsylph/procheader.c
parentc5575f297c9e68bb0eaad671b4afb25ebe441186 (diff)
process quoted-pair correctly.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1694 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procheader.c')
-rw-r--r--libsylph/procheader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsylph/procheader.c b/libsylph/procheader.c
index 4d45dbe7..2c931e07 100644
--- a/libsylph/procheader.c
+++ b/libsylph/procheader.c
@@ -752,7 +752,7 @@ gchar *procheader_get_fromname(const gchar *str)
Xstrdup_a(tmp, str, return NULL);
if (*tmp == '\"') {
- extract_quote(tmp, '\"');
+ extract_quote_with_escape(tmp, '\"');
g_strstrip(tmp);
} else if (strchr(tmp, '<')) {
eliminate_parenthesis(tmp, '<', '>');
@@ -763,7 +763,7 @@ gchar *procheader_get_fromname(const gchar *str)
g_strstrip(tmp);
}
} else if (strchr(tmp, '(')) {
- extract_parenthesis(tmp, '(', ')');
+ extract_parenthesis_with_escape(tmp, '(', ')');
g_strstrip(tmp);
}