From 23de5fcdf542a032ed529d7d9a47b5213b64a76e Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Wed, 15 Aug 2001 21:27:18 +0000 Subject: Stop building the quote after a sigdash, hence, omitting the signature 2001-08-15 Jason Leach * mail-tools.c (mail_tool_quote_message): Stop building the quote after a sigdash, hence, omitting the signature from a reply/forward. Bug #5529. svn path=/trunk/; revision=12074 --- mail/mail-tools.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-tools.c') 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++) -- cgit v1.2.3