changeset 310:659a9d0d932f

Fix free() in the wrong place and do RC3
author mmj
date Wed, 01 Sep 2004 18:21:46 +1000
parents e39e57029aa9
children f66ef77753cc
files ChangeLog README VERSION src/do_all_the_voodo_here.c src/mlmmj-make-ml.sh src/strgen.c
diffstat 6 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 01 18:19:00 2004 +1000
+++ b/ChangeLog	Wed Sep 01 18:21:46 2004 +1000
@@ -1,3 +1,8 @@
+1.0.0-RC3
+ o Add web-interface (PHP). Thank you Christoph Thiel.
+ o Have the random numbers be somewhat longer everywhere and not just somewhere
+ o Move free() to where it belongs
+ o Fix printing of cron entry in mlmmj-make-ml.sh
 1.0.0-RC2
  o Do not allow mails from <> going to the list
  o Fix mailing to +owner again by adding missing 'break;' to switch in
--- a/README	Wed Sep 01 18:19:00 2004 +1000
+++ b/README	Wed Sep 01 18:21:46 2004 +1000
@@ -1,4 +1,4 @@
-README mlmmj-1.0.0-RC2					Aug 25th 2004
+README mlmmj-1.0.0-RC3					Sep 1st 2004
 
 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	Wed Sep 01 18:19:00 2004 +1000
+++ b/VERSION	Wed Sep 01 18:21:46 2004 +1000
@@ -1,1 +1,1 @@
-1.0.0-RC2
+1.0.0-RC3
--- a/src/do_all_the_voodo_here.c	Wed Sep 01 18:19:00 2004 +1000
+++ b/src/do_all_the_voodo_here.c	Wed Sep 01 18:21:46 2004 +1000
@@ -100,7 +100,6 @@
 			}
 			
 			fsync(outfd);
-			myfree(hdrline);
 			if(hdrline[0] == '\n') {
 				if(writen(outfd, hdrline, strlen(hdrline))
 						< 0) {
@@ -109,6 +108,7 @@
 							"Error writing hdrs.");
 					return -1;
 				}
+				myfree(hdrline);
 				break;
 			}
 		}
--- a/src/mlmmj-make-ml.sh	Wed Sep 01 18:19:00 2004 +1000
+++ b/src/mlmmj-make-ml.sh	Wed Sep 01 18:21:46 2004 +1000
@@ -132,7 +132,7 @@
 echo
 echo "If you're not starting mlmmj-maintd in daemon mode,"
 echo "don't forget to add this to your crontab:"
-echo $CRONENTRY
+echo "$CRONENTRY"
 
 echo
 echo " ** FINAL NOTES **
--- a/src/strgen.c	Wed Sep 01 18:19:00 2004 +1000
+++ b/src/strgen.c	Wed Sep 01 18:21:46 2004 +1000
@@ -56,7 +56,7 @@
 	atsign = index(tmpstr, '@');
 	*atsign = '=';
 
-	snprintf(dest, len, "%d-%s", random_int(), tmpstr);
+	snprintf(dest, len, "%X%X-%s", random_int(), random_int(), tmpstr);
 
 	myfree(tmpstr);