Mercurial > hg > mlmmj
changeset 802:0f9082bde7ef
Add $$ substitution.
author | Ben Schmidt |
---|---|
date | Fri, 30 Dec 2011 00:09:33 +1100 |
parents | 25fa51ecd9e3 |
children | 43979253cf97 |
files | ChangeLog src/prepstdreply.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Mar 21 01:33:31 2011 +1100 +++ b/ChangeLog Fri Dec 30 00:09:33 2011 +1100 @@ -1,3 +1,4 @@ + o Add $$ substitution o Allow list texts to include real UTF-8 characters, as documented o Fix bug where the normal listtext would be sent when unsubscribing from the nomail version of the list
--- a/src/prepstdreply.c Mon Mar 21 01:33:31 2011 +1100 +++ b/src/prepstdreply.c Fri Dec 30 00:09:33 2011 +1100 @@ -99,7 +99,10 @@ fqdn = genlistfqdn(listaddr); listname = genlistname(listaddr); - if(strcmp(token, "listaddr") == 0) { + if(strcmp(token, "") == 0) { + value = mystrdup("$"); + goto concatandreturn; + } else if(strcmp(token, "listaddr") == 0) { /* DEPRECATED: use $list$@$domain$ instead */ value = mystrdup(listaddr); goto concatandreturn;