[Commits] [SCM] claws branch, master, updated. 3.9.2-100-g9e71cc9

claws at claws-mail.org claws at claws-mail.org
Tue Oct 29 11:15:56 CET 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  9e71cc95e341703bc3f750f9522674ee7f60f65e (commit)
      from  12779b41a3dffb4c2e3e571c3f85fc5bb6aa6f68 (commit)


- Log -----------------------------------------------------------------
commit 9e71cc95e341703bc3f750f9522674ee7f60f65e
Author: Paul <paul at claws-mail.org>
Date:   Tue Oct 29 10:15:50 2013 +0000

    be less brutal: don't remove all spaces, just remove spaces at the end of the string

diff --git a/src/procmime.c b/src/procmime.c
index dfc765b..fb4f98d 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -2015,7 +2015,7 @@ static int procmime_parse_mimepart(MimeInfo *parent,
 	mimeinfo->length = length;
 
 	if (content_type != NULL) {
-		remove_space(content_type);
+		g_strchomp(content_type);
 		procmime_parse_content_type(content_type, mimeinfo);
 	} else {
 		mimeinfo->type = MIMETYPE_TEXT;
@@ -2030,7 +2030,7 @@ static int procmime_parse_mimepart(MimeInfo *parent,
 	}
 
 	if (content_encoding != NULL) {
-		remove_space(content_encoding);
+ 		g_strchomp(content_encoding);
 		procmime_parse_content_encoding(content_encoding, mimeinfo);
 	} else {
 		mimeinfo->encoding_type = ENC_UNKNOWN;
@@ -2052,7 +2052,7 @@ static int procmime_parse_mimepart(MimeInfo *parent,
 		mimeinfo->location = NULL;
 
 	if (content_disposition != NULL) {
-		remove_space(content_disposition);
+ 		g_strchomp(content_disposition);
 		procmime_parse_content_disposition(content_disposition, mimeinfo);
 	} else
 		mimeinfo->disposition = DISPOSITIONTYPE_UNKNOWN;

-----------------------------------------------------------------------

Summary of changes:
 src/procmime.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list