From: Vsevolod Stakhov Date: Fri, 3 May 2019 16:37:31 +0000 (+0100) Subject: [Minor] Fix number, sigh X-Git-Tag: 1.9.3~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d61738f7943f8e2511249ebef39dbb7b53ab3c2b;p=rspamd.git [Minor] Fix number, sigh --- 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),