From 6c974a4fe345215c03c9bd6c908312e48afe46d4 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 5 Oct 2011 14:18:00 +0200 Subject: [PATCH] Allow the Android plugin to load even if the control socket is not available. --- src/libcharon/plugins/android/android_plugin.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libcharon/plugins/android/android_plugin.c b/src/libcharon/plugins/android/android_plugin.c index 54a7017..d5101f4 100644 --- a/src/libcharon/plugins/android/android_plugin.c +++ b/src/libcharon/plugins/android/android_plugin.c @@ -101,11 +101,6 @@ plugin_t *android_plugin_create() hydra->attributes->add_handler(hydra->attributes, &this->handler->handler); this->service = android_service_create(this->creds); - if (!this->service) - { - destroy(this); - return NULL; - } return &this->public.plugin; } -- 2.7.4