diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-10 15:06:52 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-10 15:06:52 +0000 |
commit | 0617722caee6c75c6b066f4f018d80779342dc21 (patch) | |
tree | 1f75a046a9a57fa41af5f4d8506f84abe012f6a6 /Source/charon/tests/thread_pool_test.c | |
parent | 7330c172e18a218b9bde996cb585d2e3795885e2 (diff) | |
download | strongswan-0617722caee6c75c6b066f4f018d80779342dc21.tar.bz2 strongswan-0617722caee6c75c6b066f4f018d80779342dc21.tar.xz |
- updated comments
- revised get_count function
Diffstat (limited to 'Source/charon/tests/thread_pool_test.c')
-rw-r--r-- | Source/charon/tests/thread_pool_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/tests/thread_pool_test.c b/Source/charon/tests/thread_pool_test.c index 1e8ac4646..d54a79e79 100644 --- a/Source/charon/tests/thread_pool_test.c +++ b/Source/charon/tests/thread_pool_test.c @@ -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"); } |