aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-08-16 05:27:18 +0800
committerJacob Leach <jleach@src.gnome.org>2001-08-16 05:27:18 +0800
commit23de5fcdf542a032ed529d7d9a47b5213b64a76e (patch)
treed58323ca45a1ef10aa6ebb877df70d4142433f38
parent2f9c7ef3a0979669941cadd35cc858e11a2cdb6b (diff)
downloadgsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar.gz
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar.bz2
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar.lz
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar.xz
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.tar.zst
gsoc2013-evolution-23de5fcdf542a032ed529d7d9a47b5213b64a76e.zip
Stop building the quote after a sigdash, hence, omitting the signature
2001-08-15 Jason Leach <jleach@ximian.com> * 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
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-tools.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a6e73118d1..2221c7c9b0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-15 Jason Leach <jleach@ximian.com>
+
+ * mail-tools.c (mail_tool_quote_message): Stop building the quote
+ after a sigdash, hence, omitting the signature from a
+ reply/forward. Bug #5529.
+
2001-08-15 Anna Marie Dirks <anna@ximian.com>
* mail-callbacks.c (expunge-folders): Re-added, at Ettore's
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++)