aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/sender.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/threads/sender.c')
-rw-r--r--Source/charon/threads/sender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/threads/sender.c b/Source/charon/threads/sender.c
index c47c4e2c0..cb33d8405 100644
--- a/Source/charon/threads/sender.c
+++ b/Source/charon/threads/sender.c
@@ -121,7 +121,7 @@ sender_t * sender_create()
{
this->logger->log(this->logger, ERROR, "Sender thread could not be created");
allocator_free(this);
- return NULL;
+ charon->kill(charon, "Unable to create sender thread");
}
return &(this->public);