aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/thread_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/thread_pool.c')
-rw-r--r--Source/charon/thread_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/thread_pool.c b/Source/charon/thread_pool.c
index 532587ee7..c73317abd 100644
--- a/Source/charon/thread_pool.c
+++ b/Source/charon/thread_pool.c
@@ -143,7 +143,7 @@ thread_pool_t *thread_pool_create(size_t pool_size)
allocator_free(this);
return NULL;
}
- global_logger_manager->get_logger(global_logger_manager,THREAD_POOL,&(this->logger),NULL);
+ this->logger = global_logger_manager->create_logger(global_logger_manager,THREAD_POOL,NULL);
if (this->threads == NULL)
{
allocator_free(this);