diff src/mlmmj-process.c @ 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 d78eb18576b0
children b72bcb7e08a2
line wrap: on
line diff
--- 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);