From: Vsevolod Stakhov Date: Thu, 7 Feb 2019 14:21:32 +0000 (+0000) Subject: [Minor] Lua_task: Add missing received types X-Git-Tag: 1.9.0~202 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7341d06340cfc2c887d4c8fef180e459e97f508c;p=rspamd.git [Minor] Lua_task: Add missing received types --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index b216eda69..f40a036fe 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -2410,6 +2410,15 @@ lua_task_get_received_headers (lua_State * L) case RSPAMD_RECEIVED_IMAP: proto = "imap"; break; + case RSPAMD_RECEIVED_HTTP: + proto = "http"; + break; + case RSPAMD_RECEIVED_LOCAL: + proto = "local"; + break; + case RSPAMD_RECEIVED_MAPI: + proto = "mapi"; + break; case RSPAMD_RECEIVED_UNKNOWN: default: proto = "unknown";