commit 7341d06: [Minor] Lua_task: Add missing received types
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Feb 7 15:14:17 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-02-07 14:21:32 +0000
URL: https://github.com/rspamd/rspamd/commit/7341d06340cfc2c887d4c8fef180e459e97f508c
[Minor] Lua_task: Add missing received types
---
src/lua/lua_task.c | 9 +++++++++
1 file changed, 9 insertions(+)
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";
More information about the Commits
mailing list