- updated comments
[strongswan.git] / Source / charon / tests / thread_pool_test.c
index 1e8ac46..d54a79e 100644 (file)
@@ -35,7 +35,7 @@ void test_thread_pool(tester_t *tester)
        size_t pool_size;
        
        thread_pool_t *pool = thread_pool_create(desired_pool_size);
-       pool->get_pool_size(pool, &pool_size);
+       pool_size = pool->get_pool_size(pool);
        tester->assert_true(tester, (desired_pool_size == pool_size), "thread creation");
        tester->assert_true(tester, (pool->destroy(pool) == SUCCESS), "threadpool destruction");
 }