changeset 314:2ec35c398074

Brown paper bag bug commit
author mmj
date Sat, 04 Sep 2004 09:24:45 +1000
parents 73f5c36ba79c
children 564caf17f59c
files ChangeLog README VERSION src/strgen.c
diffstat 4 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 04 01:32:22 2004 +1000
+++ b/ChangeLog	Sat Sep 04 09:24:45 2004 +1000
@@ -1,3 +1,6 @@
+1.0.0-RC4
+ o Fix brown paper bag bug not allowing enough space for the new better random
+   strings introduced in RC3 so subscribe and unsubscribe works again.
 1.0.0-RC3
  o NULL and 0 are not the same on 64-bit platforms, so fix execlp(..., 0); to
    be execlp(..., NULL);
--- a/README	Sat Sep 04 01:32:22 2004 +1000
+++ b/README	Sat Sep 04 09:24:45 2004 +1000
@@ -1,4 +1,4 @@
-README mlmmj-1.0.0-RC3					Sep 1st 2004
+README mlmmj-1.0.0-RC4					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	Sat Sep 04 01:32:22 2004 +1000
+++ b/VERSION	Sat Sep 04 09:24:45 2004 +1000
@@ -1,1 +1,1 @@
-1.0.0-RC3
+1.0.0-RC4
--- a/src/strgen.c	Sat Sep 04 01:32:22 2004 +1000
+++ b/src/strgen.c	Sat Sep 04 09:24:45 2004 +1000
@@ -35,7 +35,7 @@
 
 char *random_str()
 {
-	size_t len = 32;
+	size_t len = 128;
 	char *dest = mymalloc(len);
 
 	snprintf(dest, len, "%X%X", random_int(), random_int());
@@ -45,7 +45,7 @@
 
 char *random_plus_addr(const char *addr)
 {
-	size_t len = strlen(addr) + 16;
+	size_t len = strlen(addr) + 128;
 	char *dest = mymalloc(len);
 	char *atsign;
 	char *tmpstr;