diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-11 11:20:22 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-11 11:20:22 +0000 |
commit | 96d72d323d6ab3d3f505a1fd8c5175ebe4ce7363 (patch) | |
tree | b2814a3eb504c9472bdbd1144ddd28e72f152df5 /Source/charon/thread_pool.c | |
parent | ffd555f58e8f75622162efb2e9c6e5482d829f06 (diff) | |
download | strongswan-96d72d323d6ab3d3f505a1fd8c5175ebe4ce7363.tar.bz2 strongswan-96d72d323d6ab3d3f505a1fd8c5175ebe4ce7363.tar.xz |
- fixed bug in logger_t not storing the name of it
Diffstat (limited to 'Source/charon/thread_pool.c')
-rw-r--r-- | Source/charon/thread_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/thread_pool.c b/Source/charon/thread_pool.c index 76783efe0..532587ee7 100644 --- a/Source/charon/thread_pool.c +++ b/Source/charon/thread_pool.c @@ -113,7 +113,7 @@ static status_t destroy(private_thread_pool_t *this) } /* free mem */ - this->logger->destroy(this->logger); + global_logger_manager->destroy_logger(global_logger_manager, this->logger); allocator_free(this->threads); allocator_free(this); return SUCCESS; @@ -143,7 +143,7 @@ thread_pool_t *thread_pool_create(size_t pool_size) allocator_free(this); return NULL; } - this->logger = logger_create("thread_pool", ALL,NULL); + global_logger_manager->get_logger(global_logger_manager,THREAD_POOL,&(this->logger),NULL); if (this->threads == NULL) { allocator_free(this); |