diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-09 09:35:06 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-09 09:35:06 +0000 |
commit | 6c4b815f22341ad3c2574b42a64b39e16ef1e7c7 (patch) | |
tree | 57c322fecce2b837b34654758a0e394ffdfaa90e /Source/charon/tests/job_queue_test.c | |
parent | 79538669625bbae26fcef5d791b2246242c5a407 (diff) | |
download | strongswan-6c4b815f22341ad3c2574b42a64b39e16ef1e7c7.tar.bz2 strongswan-6c4b815f22341ad3c2574b42a64b39e16ef1e7c7.tar.xz |
- memory allocation now works with allocator-functions...
Diffstat (limited to 'Source/charon/tests/job_queue_test.c')
-rw-r--r-- | Source/charon/tests/job_queue_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/tests/job_queue_test.c b/Source/charon/tests/job_queue_test.c index 5e1fa8121..b42512aa0 100644 --- a/Source/charon/tests/job_queue_test.c +++ b/Source/charon/tests/job_queue_test.c @@ -28,6 +28,7 @@ #include <pthread.h> #include <unistd.h> +#include "../allocator.h" #include "job_queue_test.h" #include "../tester.h" #include "../job_queue.h" @@ -63,7 +64,7 @@ static void test_job_queue_sender(job_queue_test_t * testinfo) int i; for (i = 0; i < testinfo->insert_item_count; i++) { - int *value = allocator_alloc_thing(int,"int in test_job_queue_sender"); + int *value = allocator_alloc_thing(int); *value = i; job_t *job = job_create(INCOMING_PACKET,value); testinfo->job_queue->add(testinfo->job_queue,job); |