From 6c4b815f22341ad3c2574b42a64b39e16ef1e7c7 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Wed, 9 Nov 2005 09:35:06 +0000 Subject: - memory allocation now works with allocator-functions... --- Source/charon/sender.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/charon/sender.c') diff --git a/Source/charon/sender.c b/Source/charon/sender.c index 5d821b2f5..20d301f5e 100644 --- a/Source/charon/sender.c +++ b/Source/charon/sender.c @@ -26,6 +26,7 @@ #include #include +#include "allocator.h" #include "sender.h" #include "socket.h" #include "packet.h" @@ -101,7 +102,7 @@ static status_t destroy(private_sender_t *this) sender_t * sender_create() { - private_sender_t *this = allocator_alloc_thing(private_sender_t,"private_sender_t"); + private_sender_t *this = allocator_alloc_thing(private_sender_t); this->public.destroy = (status_t(*)(sender_t*)) destroy; if (pthread_create(&(this->assigned_thread), NULL, (void*(*)(void*))sender_thread_function, this) != 0) -- cgit v1.2.3