aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/receiver.c')
-rw-r--r--Source/charon/receiver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/receiver.c b/Source/charon/receiver.c
index 85576075a..abbb5cf8d 100644
--- a/Source/charon/receiver.c
+++ b/Source/charon/receiver.c
@@ -26,6 +26,7 @@
#include <pluto/constants.h>
#include <pluto/defs.h>
+#include "allocator.h"
#include "receiver.h"
#include "socket.h"
#include "packet.h"
@@ -105,7 +106,7 @@ static status_t destroy(private_receiver_t *this)
receiver_t * receiver_create()
{
- private_receiver_t *this = allocator_alloc_thing(private_receiver_t,"private_receiver_t");
+ private_receiver_t *this = allocator_alloc_thing(private_receiver_t);
this->public.destroy = (status_t(*)(receiver_t*)) destroy;
if (pthread_create(&(this->assigned_thread), NULL, (void*(*)(void*))receiver_thread_function, this) != 0)