aboutsummaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mail.c b/src/mail.c
index ba77f49..5065306 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -249,7 +249,7 @@ mail_stats ()
admin_stat_message);
return;
}
- text = meta_expand_string (tmpl, exp, NULL);
+ text = meta_expand_string (tmpl, exp, NULL, NULL, NULL);
mail_send_message (admin_address, text);
@@ -264,7 +264,6 @@ get_recipient (struct access_method *method, struct file_triplet *trp,
char **errp)
{
unsigned nrows, ncols, i;
- struct metadef def[5];
mu_address_t rcpt = NULL;
char *text;
int rc;
@@ -283,10 +282,7 @@ get_recipient (struct access_method *method, struct file_triplet *trp,
return NULL;
}
- make_default_meta (def, trp->user, trp->project);
- meta_escape (method, md, def);
- text = meta_expand_string (method->query, def, NULL);
- meta_free (def);
+ text = triplet_expand_method_query (method, md, trp);
rc = method_run (method, md, text);
free (text);

Return to:

Send suggestions and report system problems to the System administrator.