summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-26 22:21:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-26 22:21:51 +0000
commiteb6e28e07f9108ff9a5f5711cb8f43662a8fa0fe (patch)
tree13f053449aae4b17919829344d300d5fbaa15916 /src/controller.c
parentd0fd4b42cbb067bcacf35b580721889aced9571a (diff)
downloadrspamd-eb6e28e07f9108ff9a5f5711cb8f43662a8fa0fe.tar.gz
rspamd-eb6e28e07f9108ff9a5f5711cb8f43662a8fa0fe.zip
Move controller session definition.
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/controller.c b/src/controller.c
index e4c553ddc..dde2944f5 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -175,16 +175,6 @@ struct rspamd_controller_worker_ctx {
};
-struct rspamd_controller_session {
- struct rspamd_controller_worker_ctx *ctx;
- struct rspamd_worker *wrk;
- rspamd_mempool_t *pool;
- struct rspamd_task *task;
- struct rspamd_classifier_config *cl;
- rspamd_inet_addr_t *from_addr;
- gboolean is_spam;
-};
-
static gboolean
rspamd_is_encrypted_password (const gchar *password,
struct rspamd_controller_pbkdf const **pbkdf)
@@ -1751,12 +1741,10 @@ static gboolean
rspamd_controller_stat_fin_task (void *ud)
{
struct rspamd_stat_cbdata *cbdata = ud;
- struct rspamd_controller_session *session;
struct rspamd_http_connection_entry *conn_ent;
ucl_object_t *top;
conn_ent = cbdata->conn_ent;
- session = conn_ent->ud;
top = cbdata->top;
ucl_object_insert_key (top,