aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-26 15:13:55 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-26 15:13:55 +0000
commitc9fc8ae5a55a62f48a7364fefa3a01485b94f327 (patch)
tree8b53b64b12c78786bcf158edb3d747c40188d9e9 /src
parent51636bd7f39d496c46e7b909a9b8d594e48fba4c (diff)
downloadrspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.tar.gz
rspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.zip
Fix raw logic inversion in `get_header` method
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 0e43b7ab5..69644ba24 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 {