summaryrefslogtreecommitdiff
blob: 54d24953a4e5008a8fc5fa3d444a286659b2f2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- camel/camel-mime-utils.c.old	Fri May  3 23:02:19 2002
+++ camel/camel-mime-utils.c	Fri May  3 23:02:32 2002
@@ -2367,7 +2367,7 @@
 			} else {
 				/* Fix for stupidly-broken-mailers that like to put '.''s in names unquoted */
 				/* see bug #8147 */
-				if (*inptr && *inptr != '<') {
+				while (!pre && *inptr && *inptr != '<') {
 					w(g_warning("Working around stupid mailer bug #5: unescaped characters in names"));
 					name = g_string_append_c(name, *inptr++);
 					pre = header_decode_word(&inptr);