changeset 508:10852fdfb3aa

1.2.7 postcommit
author mmj
date Fri, 17 Jun 2005 22:55:09 +1000
parents 32f9a86b90a3
children c89f55896ba5
files ChangeLog README VERSION src/strgen.c
diffstat 4 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 12 17:19:51 2005 +1000
+++ b/ChangeLog	Fri Jun 17 22:55:09 2005 +1000
@@ -1,3 +1,7 @@
+1.2.7
+ o Remove old superflous cruft in the smtpreply reader function, making
+   mlmmj-send not segfault in rare cases when SIGTERM was sent
+ o Another printf had snuck in there printing a free'ed variable
 1.2.6.1
  o Make sure the fromaddr is correct on sub-subscribed mails
  o Don't add an empty subject if there was one present
--- a/README	Thu May 12 17:19:51 2005 +1000
+++ b/README	Fri Jun 17 22:55:09 2005 +1000
@@ -1,4 +1,4 @@
-README mlmmj-1.2.6					         May 8th 2005
+README mlmmj-1.2.7					         May 12th 2005
 
 This is an attempt at implementing a mailing list manager with the same
 functionality as the brilliant ezmlm, but with a decent license and mail server
--- a/VERSION	Thu May 12 17:19:51 2005 +1000
+++ b/VERSION	Fri Jun 17 22:55:09 2005 +1000
@@ -1,1 +1,1 @@
-1.2.7pre1
+1.2.7
--- a/src/strgen.c	Thu May 12 17:19:51 2005 +1000
+++ b/src/strgen.c	Fri Jun 17 22:55:09 2005 +1000
@@ -246,7 +246,6 @@
 
 	/* 6 + 26 + ' ' + timezone which is 5 + '\n\0' == 40 */
 	timestr = (char *)malloc(40);
-	strcpy(timestr, "Date: ");
 	t = time(NULL);
 
 	localtime_r(&t, &lttm);
@@ -311,7 +310,7 @@
 	}
 
 	
-	snprintf(timestr, 40, "Date: %s, %02d %s %d %d:%d:%d %+05d\n",
+	snprintf(timestr, 40, "Date: %s, %02d %s %04d %02d:%02d:%02d %+05d\n",	
 			weekday, lttm.tm_mday, month, lttm.tm_year + 1900,
 			lttm.tm_hour, lttm.tm_min, lttm.tm_sec, ((int)t)/36);