diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-16 17:01:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-16 17:01:00 +0100 |
commit | 79c94a99ba45b3b0ea6ebc1ecf24d224fda579a6 (patch) | |
tree | 0bade38f5875aa800fff6fc989a4ca156141b5aa /test/lua/unit | |
parent | a9557341524157ad8960331d4960ea3a7b6ba988 (diff) | |
download | rspamd-79c94a99ba45b3b0ea6ebc1ecf24d224fda579a6.tar.gz rspamd-79c94a99ba45b3b0ea6ebc1ecf24d224fda579a6.zip |
[Test] Try to fix test segfault
Diffstat (limited to 'test/lua/unit')
-rw-r--r-- | test/lua/unit/received.lua | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/test/lua/unit/received.lua b/test/lua/unit/received.lua index 6c133279f..ac21c0e83 100644 --- a/test/lua/unit/received.lua +++ b/test/lua/unit/received.lua @@ -5,17 +5,18 @@ context("Received headers parser", function() ffi.cdef[[ struct received_header { - char *from_hostname; - char *from_ip; - char *real_hostname; - char *real_ip; - char *by_hostname; - char *for_mbox; - void *addr; - void *hdr; - long timestamp; - int type; - int flags; + char *from_hostname; + char *from_ip; + char *real_hostname; + char *real_ip; + char *by_hostname; + char *for_mbox; + char *comment_ip; + void *addr; + void *hdr; + long timestamp; + int type; + int flags; }; struct rspamd_task * rspamd_task_new(struct rspamd_worker *worker, struct rspamd_config *cfg); int rspamd_smtp_received_parse (struct rspamd_task *task, |