diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-27 12:07:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-27 12:07:40 +0100 |
commit | c2450b3cf4f8b1c13d0c0ef6665039e5960b6381 (patch) | |
tree | bb2d89800aa8455de32f684de21ab73087722408 /src/libserver/events.c | |
parent | 147df4300a76d4865f62cea0f3c9e33c2e8d34b0 (diff) | |
download | rspamd-c2450b3cf4f8b1c13d0c0ef6665039e5960b6381.tar.gz rspamd-c2450b3cf4f8b1c13d0c0ef6665039e5960b6381.zip |
[Minor] Improve lua_tcp logging
Diffstat (limited to 'src/libserver/events.c')
-rw-r--r-- | src/libserver/events.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libserver/events.c b/src/libserver/events.c index ac9b0ccf2..d609bcbb7 100644 --- a/src/libserver/events.c +++ b/src/libserver/events.c @@ -455,3 +455,12 @@ rspamd_session_get_watcher (struct rspamd_async_session *session) return NULL; } } + + +rspamd_mempool_t * +rspamd_session_mempool (struct rspamd_async_session *session) +{ + g_assert (session != NULL); + + return session->pool; +}
\ No newline at end of file |