[exim-cvs] Fix error codes in ACL-time quota checking

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix error codes in ACL-time quota checking
Gitweb: https://git.exim.org/exim.git/commitdiff/38a522bdfc23e9a221b475891f954b0dd6f82eee
Commit:     38a522bdfc23e9a221b475891f954b0dd6f82eee
Parent:     e8fd2c45ddd6f59f159baaa2c154ced5ce36f3df
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Feb 12 17:48:11 2021 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri Feb 12 17:48:11 2021 +0000


    Fix error codes in ACL-time quota checking
---
 src/src/verify.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/src/verify.c b/src/src/verify.c
index 07e6635..6ddff47 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -3388,8 +3388,8 @@ if ((rc = verify_address(&vaddr, NULL, vopt_is_recipient | vopt_quota,

   len = 5 + Ustrlen(msg) + 1 + Ustrlen(where);
   msg = string_sprintf("%c%c%c%c%c%s%c%s", (uschar)rc,
-    (vaddr.basic_errno >> 24) && 0xff, (vaddr.basic_errno >> 16) && 0xff,
-    (vaddr.basic_errno >> 8) && 0xff, vaddr.basic_errno && 0xff,
+    (vaddr.basic_errno >> 24) & 0xff, (vaddr.basic_errno >> 16) & 0xff,
+    (vaddr.basic_errno >> 8) & 0xff, vaddr.basic_errno & 0xff,
     where, '\0', msg);
   }