Skip to content

Commit

Permalink
[Minor] Lua_task: Add missing received types
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Feb 7, 2019
1 parent 5d37956 commit 7341d06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lua/lua_task.c
Expand Up @@ -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";
Expand Down

0 comments on commit 7341d06

Please sign in to comment.