From d61738f7943f8e2511249ebef39dbb7b53ab3c2b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 3 May 2019 17:37:31 +0100 Subject: [PATCH] [Minor] Fix number, sigh --- src/lua/lua_task.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index addb870c1..2529b88d6 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -2730,8 +2730,8 @@ lua_task_get_dns_req (lua_State *L) enum rspamd_address_type { RSPAMD_ADDRESS_ANY = 0u, - RSPAMD_ADDRESS_SMTP = 1u << 0u, - RSPAMD_ADDRESS_MIME = 1u << 2u, + RSPAMD_ADDRESS_SMTP = 1, + RSPAMD_ADDRESS_MIME = 2, RSPAMD_ADDRESS_MASK = 0x3FF, RSPAMD_ADDRESS_RAW = (1u << 10), RSPAMD_ADDRESS_ORIGINAL = (1u << 11), -- 2.39.5