diff options
Diffstat (limited to 'Source/charon/tests/sender_test.c')
-rw-r--r-- | Source/charon/tests/sender_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/tests/sender_test.c b/Source/charon/tests/sender_test.c index 3f8cfa8f4..56a5d9c31 100644 --- a/Source/charon/tests/sender_test.c +++ b/Source/charon/tests/sender_test.c @@ -22,6 +22,7 @@ #include <string.h> +#include "../allocator.h" #include "sender_test.h" #include "../globals.h" #include "../sender.h" @@ -57,7 +58,7 @@ void test_sender(tester_t *tester) { packet = packet_create(AF_INET); packet->set_destination(packet,DESTINATION_IP,PORT_TO_SEND); - packet->data.ptr = allocator_alloc_thing(int, "packet data"); + packet->data.ptr = allocator_alloc_thing(int); packet->data.len = ( sizeof(int)); *((int *) (packet->data.ptr)) = i; global_send_queue->add(global_send_queue,packet); |