aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 92b9768137..35e64db093 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -389,6 +389,8 @@ mail_tool_quote_message (CamelMimeMessage *message, const char *fmt, ...)
len = strcspn (s, "\n");
if (len == 0 && !*s)
break;
+ if (!strncmp ("-- \n", s, 4) || !strncmp ("--\n", s, 3))
+ break;
sprintf (d, "> %.*s\n", len, s);
s += len;
if (!*s++)