summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-26 09:19:05 +0200
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-26 09:19:16 +0200
commit3d5132aa9b9be9b3542362015c3ed9e7160d894f (patch)
tree4cd291ffc76749249e5c353556a78afb94739934 /src/controller.c
parentfc811374f8926d2679a4e247b1586f781d0fcefc (diff)
downloadrspamd-3d5132aa9b9be9b3542362015c3ed9e7160d894f.tar.gz
rspamd-3d5132aa9b9be9b3542362015c3ed9e7160d894f.zip
[Minor] Fix warnings
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 6375c844b..8b5fdbaea 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2435,7 +2435,6 @@ rspamd_controller_finish_handler (struct rspamd_http_connection_entry *conn_ent)
struct rspamd_controller_session *session = conn_ent->ud;
session->ctx->worker->srv->stat->control_connections_count++;
- msg_debug_session ("destroy session %p", session);
if (session->task != NULL) {
rspamd_session_destroy (session->task->s);
@@ -2443,6 +2442,7 @@ rspamd_controller_finish_handler (struct rspamd_http_connection_entry *conn_ent)
if (session->pool) {
rspamd_mempool_delete (session->pool);
+ msg_debug_session ("destroy session %p", session);
}
session->wrk->nconns --;