]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix number, sigh
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 May 2019 16:37:31 +0000 (17:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 May 2019 16:37:31 +0000 (17:37 +0100)
src/lua/lua_task.c

index addb870c1410a8b5408a4aa7652abc58d6c4de6a..2529b88d6dc9e7792883352f6e1545318d339e91 100644 (file)
@@ -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),