diff options
author | Dan Winship <danw@src.gnome.org> | 2002-06-07 04:41:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-06-07 04:41:14 +0800 |
commit | 2dd7e35afd3c0985aed13c80eb1f670c669a66aa (patch) | |
tree | fd982a2b04b7154928c58b9780142351a3f171c9 /camel/camel-mime-utils.c | |
parent | 432ba0b3ddd83ea6ac3688474a9c3ab1f854550c (diff) | |
download | gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar.gz gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar.bz2 gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar.lz gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar.xz gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.tar.zst gsoc2013-evolution-2dd7e35afd3c0985aed13c80eb1f670c669a66aa.zip |
Parse "From: Dan Winship <danw>" (with no domain) in the way the sender
* camel-mime-utils.c (header_decode_mailbox): Parse
"From: Dan Winship <danw>" (with no domain) in the way the sender
meant it, even though it's completely wrong.
svn path=/trunk/; revision=17137
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 d32558096e..581fd1bff4 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -2454,7 +2454,7 @@ header_decode_mailbox(const char **in) dom = header_decode_domain(&inptr); addr = g_string_append(addr, dom); g_free(dom); - } else { + } else if (*inptr != '>' || !closeme) { /* If we get a <, the address was probably a name part, lets try again shall we? */ /* Another fix for seriously-broken-mailers */ if (*inptr && *inptr != ',') { |