diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-09 21:25:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-09 21:25:23 +0100 |
commit | 22f603e83dd4fe3fc6d3e9e18b19bc87d57af235 (patch) | |
tree | cecceb5ebef41c6219071b4ea55c5d5c9b492294 /src/lua/lua_tcp.c | |
parent | d0d9673d38dbb2e8aa93ae60bbbc9193e9646902 (diff) | |
download | rspamd-22f603e83dd4fe3fc6d3e9e18b19bc87d57af235.tar.gz rspamd-22f603e83dd4fe3fc6d3e9e18b19bc87d57af235.zip |
[Rework] Use dynamic items for calling callbacks
It is trivial to get a static item by dynamic item by just subtracting
pointers. So there is no need in other complications.
Diffstat (limited to 'src/lua/lua_tcp.c')
-rw-r--r-- | src/lua/lua_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index 635aa885d..851e1511d 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -339,7 +339,7 @@ struct lua_tcp_cbdata { struct lua_tcp_dtor *dtors; ref_entry_t ref; struct rspamd_task *task; - struct rspamd_symcache_item *item; + struct rspamd_symcache_dynamic_item *item; struct thread_entry *thread; struct rspamd_config *cfg; struct rspamd_ssl_connection *ssl_conn; |