aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-mime-message.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index ef9aebeb76..7bce861e25 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * camel-mime-message.c (camel_mime_message_set_subject): Do a
+ g_strstrip on the subject so we can stop getting those annoying
+ leading spaces
+
2000-08-07 Dan Winship <danw@helixcode.com>
* camel-folder.c (camel_folder_free_deep): Fix this to not require
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index f0b3ea4a70..ca77917047 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -256,7 +256,7 @@ camel_mime_message_set_subject (CamelMimeMessage *mime_message,
g_assert (mime_message);
g_free(mime_message->subject);
- mime_message->subject = g_strchomp(g_strdup(subject));
+ mime_message->subject = g_strstrip (g_strdup (subject));
text = header_encode_string(subject);
CAMEL_MEDIUM_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "Subject", text);
g_free(text);
span class='deletions'>-1/+0 * Bump PORTREVISION for ports linking to default libmysqlclient.ale2011-03-191-1/+1 * - Use .sample for sample config so that upgrades dont overwritelwhsu2010-08-0410-9/+268 * - Add rc.d script.stefan2010-07-015-5/+138 * - Chase net-snmp shlib bumpsylvio2010-06-031-2/+2 * - Fix custom LOCALBASE buildmiwi2009-09-201-3/+5 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * - Chase shlib version of net-mgmt/net-snmp which I've forgotten.kuriyama2008-03-291-2/+2 * - Chase shlib version of net-mgmt/net-snmp.kuriyama2008-03-271-1/+1 * - Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.kuriyama2007-02-281-2/+2 * Remove USE_REINPLACE from all categories starting with Nedwin2006-05-121-1/+0 * Try to clean up www/datakris2006-02-061-0/+1 * - Drop maintainership. ENOTIME for ports, so let someone else take better carepav2006-01-241-1/+1 * SHA256ifyedwin2006-01-231-0/+1