From c9fc8ae5a55a62f48a7364fefa3a01485b94f327 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 26 Nov 2015 15:13:55 +0000 Subject: [PATCH] Fix raw logic inversion in `get_header` method --- src/lua/lua_task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 0e43b7ab55..69644ba24c 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1053,7 +1053,7 @@ rspamd_lua_push_header (lua_State * L, rh = rh->next; } else { - if (raw) { + if (!raw) { val = rh->decoded; } else { -- 2.47.3