Fixed initialization of android plugin.

This commit is contained in:
Tobias Brunner
2011-10-11 16:30:20 +02:00
parent f7ce74983d
commit ddce93206e
@@ -95,13 +95,13 @@ plugin_t *android_plugin_create()
.creds = android_creds_create(),
);
this->service = android_service_create(this->creds);
this->handler = android_handler_create(this->service != NULL);
charon->bus->add_listener(charon->bus, &this->logger->listener);
lib->credmgr->add_set(lib->credmgr, &this->creds->set);
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
this->service = android_service_create(this->creds);
this->handler = android_handler_create(this->service != NULL);
return &this->public.plugin;
}