From 38a522bdfc23e9a221b475891f954b0dd6f82eee Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 12 Feb 2021 17:48:11 +0000 Subject: [PATCH 1/1] 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 07e663536..6ddff47a5 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); } -- 2.30.2