- renamed logger_manager method get_logger to create_logger

This commit is contained in:
Martin Willi
2005-11-11 13:12:23 +00:00
parent 55497527ce
commit 566bbcd122
6 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -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);