[Commits] [SCM] claws branch, master, updated. 3.11.1-86-g4b21af3

mones at claws-mail.org mones at claws-mail.org
Wed Apr 22 19:59:40 CEST 2015


The branch, master has been updated
       via  4b21af32557e42327956d2f49aee6cdb0eec8d34 (commit)
      from  9cf5b73b4726a9e13deee191c1bd6dc75486a169 (commit)

Summary of changes:
 AUTHORS                         |    1 +
 src/gtk/authors.h               |    1 +
 src/plugins/mailmbox/mailmbox.c |    2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 4b21af32557e42327956d2f49aee6cdb0eec8d34
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Apr 22 19:58:21 2015 +0200

    Fix bug #3419 ‘Saving/appending messages to an mbox file violates RFC#4155’
    
    RFC4155 is informative, anyway, this makes message separator headers
    conform to qmail mboxrd format: http://qmail.org./man/man5/mbox.html
    
    Original patch thanks to Johan Vromans.

diff --git a/AUTHORS b/AUTHORS
index 2ad7a3c..2f1d7f5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -311,3 +311,4 @@ contributors (in addition to the above; based on Changelog)
 	H. Merijn Brand
 	Anton Butanaev
 	Daniel Zaoui
+	Johan Vromans
diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 6bb5052..056296a 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -278,6 +278,7 @@ static char *CONTRIBS_LIST[] = {
 "Petr Vanek",
 "Jeroen Versteeg",
 "Kevin Vigor",
+"Johan Vromans",
 "Botalov Vyacheslav",
 "Radek Vybiral",
 "Jonathan Ware",
diff --git a/src/plugins/mailmbox/mailmbox.c b/src/plugins/mailmbox/mailmbox.c
index 500d026..3de488d 100644
--- a/src/plugins/mailmbox/mailmbox.c
+++ b/src/plugins/mailmbox/mailmbox.c
@@ -615,7 +615,7 @@ claws_mailmbox_append_message_list_no_lock(struct claws_mailmbox_folder * folder
   date = time(NULL);
   from_size = strlen(DEFAULT_FROM_LINE);
   if (localtime_r(&date, &time_info) != NULL)
-    from_size = strftime(from_line, MAX_FROM_LINE_SIZE, "From - %c\n", &time_info);
+    from_size = strftime(from_line, MAX_FROM_LINE_SIZE, "From - %a %b %_2d %T %Y\n", &time_info);
 
   extra_size = 0;
   for(i = 0 ; i < carray_count(append_tab) ; i ++) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list