[exim-cvs] Fix debug output in ${acl }

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix debug output in ${acl }
Gitweb: http://git.exim.org/exim.git/commitdiff/60f8e1e888f78e559e718c2e23c1ceb0546779a8
Commit:     60f8e1e888f78e559e718c2e23c1ceb0546779a8
Parent:     351a5bc85e6950e3608c41f1bd15368b0a49d5f3
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Jul 22 00:06:04 2013 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Jul 22 00:06:04 2013 +0100


    Fix debug output in ${acl }
---
 src/src/expand.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/src/expand.c b/src/src/expand.c
index 1da2225..dba047b 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);