From 9951ed24213c19c1178e0f2a26a5eb1e4bb961ba Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 8 Aug 2000 16:28:43 +0000 Subject: Add another subject g_strstrip that fejj's earlier commit missed. * camel-mime-message.c (process_header): Add another subject g_strstrip that fejj's earlier commit missed. svn path=/trunk/; revision=4596 --- camel/ChangeLog | 5 +++++ camel/camel-mime-message.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index ec58af3dcd..a7aa391b8d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2000-08-08 Dan Winship + + * camel-mime-message.c (process_header): Add another subject + g_strstrip that fejj's earlier commit missed. + 2000-08-07 Not Zed * providers/mh/camel-mh-folder.c (mh_append_message): Only retry diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c index ca77917047..d7a8775b43 100644 --- a/camel/camel-mime-message.c +++ b/camel/camel-mime-message.c @@ -487,7 +487,7 @@ process_header(CamelMedium *medium, const char *header_name, const char *header_ break; case HEADER_SUBJECT: g_free(message->subject); - message->subject = header_decode_string(header_value); + message->subject = g_strstrip (header_decode_string(header_value)); break; case HEADER_TO: case HEADER_CC: -- cgit v1.2.3