summaryrefslogtreecommitdiffstats
path: root/src/libserver/events.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-27 12:07:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-27 12:07:40 +0100
commitc2450b3cf4f8b1c13d0c0ef6665039e5960b6381 (patch)
treebb2d89800aa8455de32f684de21ab73087722408 /src/libserver/events.c
parent147df4300a76d4865f62cea0f3c9e33c2e8d34b0 (diff)
downloadrspamd-c2450b3cf4f8b1c13d0c0ef6665039e5960b6381.tar.gz
rspamd-c2450b3cf4f8b1c13d0c0ef6665039e5960b6381.zip
[Minor] Improve lua_tcp logging
Diffstat (limited to 'src/libserver/events.c')
-rw-r--r--src/libserver/events.c9
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