aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/tester.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-03 13:35:22 +0000
committerMartin Willi <martin@strongswan.org>2005-11-03 13:35:22 +0000
commit5673ba542609d79fd5fa343d10977a22dff41c6d (patch)
tree73093934e525f162cde41fc2d6c119f7f97f482d /Source/charon/tester.c
parentc93b51ec8cef6c0520b47902c9d034d0e9e859a4 (diff)
downloadstrongswan-5673ba542609d79fd5fa343d10977a22dff41c6d.tar.bz2
strongswan-5673ba542609d79fd5fa343d10977a22dff41c6d.tar.xz
""
Diffstat (limited to 'Source/charon/tester.c')
-rw-r--r--Source/charon/tester.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/tester.c b/Source/charon/tester.c
index 4a5ab0a8b..1734bfabc 100644
--- a/Source/charon/tester.c
+++ b/Source/charon/tester.c
@@ -130,8 +130,9 @@ static void test_linked_list(private_tester_t *this)
*/
static void test_thread_pool(private_tester_t *this)
{
- size_t pool_size;
size_t desired_pool_size = 10;
+ size_t pool_size;
+
thread_pool_t *pool = thread_pool_create(desired_pool_size);
pool->get_pool_size(pool, &pool_size);
this->assert_true(this, (desired_pool_size == pool_size), "thread creation");