aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-12-07 16:00:27 +0100
committerTobias Brunner <tobias@strongswan.org>2009-12-07 16:00:27 +0100
commit268911a5cc9af69618377028fa6121ece558c7ee (patch)
treea0379dfca464fd452438c11daf2434b76efa6b91
parentcd51437e4360e9267c5fe3193df9bf40837a9956 (diff)
downloadstrongswan-268911a5cc9af69618377028fa6121ece558c7ee.tar.bz2
strongswan-268911a5cc9af69618377028fa6121ece558c7ee.tar.xz
The attribute manager was moved from daemon_t to libstrongswan.
-rw-r--r--src/charon/plugins/unit_tester/tests/test_pool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/charon/plugins/unit_tester/tests/test_pool.c b/src/charon/plugins/unit_tester/tests/test_pool.c
index f9a776a82..109c06fda 100644
--- a/src/charon/plugins/unit_tester/tests/test_pool.c
+++ b/src/charon/plugins/unit_tester/tests/test_pool.c
@@ -17,7 +17,6 @@
#include <pthread.h>
#include <library.h>
-#include <daemon.h>
#define ALLOCS 1000
#define THREADS 20
@@ -40,8 +39,8 @@ static void* testing(void *thread)
/* allocate addresses */
for (i = 0; i < ALLOCS; i++)
{
- addr[i] = charon->attributes->acquire_address(charon->attributes,
- "test", id[i], NULL);
+ addr[i] = lib->attributes->acquire_address(lib->attributes,
+ "test", id[i], NULL);
if (!addr[i])
{
return (void*)FALSE;
@@ -51,7 +50,8 @@ static void* testing(void *thread)
/* release addresses */
for (i = 0; i < ALLOCS; i++)
{
- charon->attributes->release_address(charon->attributes, "test", addr[i], id[i]);
+ lib->attributes->release_address(lib->attributes,
+ "test", addr[i], id[i]);
}
/* cleanup */