aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-format.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6624093fb0..1151617a24 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-29 Dan Winship <danw@ximian.com>
+
+ * mail-format.c (write_xmailer_header): Remove preceding whitespace
+
2003-04-28 Ettore Perazzoli <ettore@ximian.com>
* mail-session.c (mail_session_forget_passwords): Forget all
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 5840e16e70..ad4bf754c4 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -953,6 +953,8 @@ write_xmailer_header (CamelMimeMessage *message, MailDisplay *md,
if (!xmailer)
return FALSE;
}
+ while (isspace ((unsigned char)*xmailer))
+ xmailer++;
evolution = strstr (xmailer, "Evolution");
if ((xmask & MAIL_CONFIG_XMAILER_OTHER) ||