aboutsummaryrefslogtreecommitdiffstats
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
parent51636bd7f39d496c46e7b909a9b8d594e48fba4c (diff)
downloadrspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.tar.gz
rspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.zip
Fix raw logic inversion in `get_header` method
-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 {
2de63f63ef111558a90d22068836496'>root/archiva-modules/metadata/metadata-model/pom.xml
blob: 3d528341e6f21e91f7d3a7a054c2c99edacb06bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58