From 5113680f95e522c677cdd37072cfffbdca06831e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 10 Apr 2006 08:07:38 +0000 Subject: - split up in libstrong, charon, stroke, testing done - new leak detective with malloc hook in library - useable, but needs improvements - logger_manager has now a single instance per library - allows use of loggers from any linking prog - a LOT of other things --- Source/testing/sender_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/testing/sender_test.c') diff --git a/Source/testing/sender_test.c b/Source/testing/sender_test.c index 003cf761e..4559de0f4 100644 --- a/Source/testing/sender_test.c +++ b/Source/testing/sender_test.c @@ -30,7 +30,6 @@ #include #include #include -#include /** * Number of packets to send by sender-thread @@ -60,8 +59,8 @@ void test_sender(protected_tester_t *tester) { packet = packet_create(AF_INET); packet->set_destination(packet, host_create(AF_INET,DESTINATION_IP,PORT_TO_SEND)); - packet_data.ptr = allocator_alloc_thing(int); packet_data.len = ( sizeof(int)); + packet_data.ptr = malloc(packet_data.len); *((int *) (packet_data.ptr)) = i; packet->set_data(packet, packet_data); charon->send_queue->add(charon->send_queue,packet); -- cgit v1.2.3