Mercurial > hg > mlmmj
changeset 739:ada79809aac0
Fixed a bug where a listtext token was passed without a substitution,
which could cause a crash if it were actually mistakenly used (unlikely)
author | Ben Schmidt |
---|---|
date | Mon, 20 Sep 2010 01:19:25 +1000 |
parents | c910b56dc039 |
children | 5db75af2d0db |
files | ChangeLog src/mlmmj-process.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Sep 20 01:18:30 2010 +1000 +++ b/ChangeLog Mon Sep 20 01:19:25 2010 +1000 @@ -1,3 +1,5 @@ + o Fixed a bug that could cause a crash if $posteraddr$ appeared in the + maxmaiilsize listtext o Documented listtexts o Makes the random strings produced always the same length rather the smaller random numbers producing shorter strings which could be
--- a/src/mlmmj-process.c Mon Sep 20 01:18:30 2010 +1000 +++ b/src/mlmmj-process.c Mon Sep 20 01:19:25 2010 +1000 @@ -696,7 +696,7 @@ queuefilename = prepstdreply(listdir, "maxmailsize", "$listowner$", fromemails.emaillist[0], - NULL, 2, maildata, NULL, donemailname); + NULL, 1, maildata+2, NULL, donemailname); MY_ASSERT(queuefilename) myfree(listdelim); myfree(listname);