aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/threads/receiver.c')
-rw-r--r--Source/charon/threads/receiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/threads/receiver.c b/Source/charon/threads/receiver.c
index 85410d298..db22542cc 100644
--- a/Source/charon/threads/receiver.c
+++ b/Source/charon/threads/receiver.c
@@ -123,7 +123,7 @@ receiver_t * receiver_create()
this->logger->log(this->logger, ERROR, "Receiver thread could not be started");
charon->logger_manager->destroy_logger(charon->logger_manager, this->logger);
allocator_free(this);
- return NULL;
+ charon->kill(charon, "Unable to create receiver thread");
}
return &(this->public);