- kernel interface hacks, works partially
[strongswan.git] / Source / charon / threads / receiver.c
index 85410d2..db22542 100644 (file)
@@ -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);