summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/expand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index 1da222563..dba047b28 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -1898,8 +1898,8 @@ while (i < nsub)
DEBUG(D_expand)
debug_printf("expanding: acl: %s arg: %s%s\n",
sub[0],
- acl_narg>0 ? sub[1] : US"<none>",
- acl_narg>1 ? " +more" : "");
+ acl_narg>0 ? acl_arg[0] : US"<none>",
+ acl_narg>1 ? " +more" : "");
ret = acl_eval(acl_where, sub[0], user_msgp, &tmp);