From bb381e26c6d132fd0d29641cdb75335f52cae309 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 15 Jul 2010 14:49:41 +0200 Subject: Refer to scheduler and processor via lib and not hydra. --- src/libcharon/plugins/android/android_service.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libcharon/plugins/android/android_service.c') diff --git a/src/libcharon/plugins/android/android_service.c b/src/libcharon/plugins/android/android_service.c index 16603a694..f9a8e1ea1 100644 --- a/src/libcharon/plugins/android/android_service.c +++ b/src/libcharon/plugins/android/android_service.c @@ -20,7 +20,6 @@ #include "android_service.h" -#include #include #include #include @@ -142,7 +141,7 @@ METHOD(listener_t, child_updown, bool, * callback, but from a different thread. we also delay it to avoid * a race condition during a regular shutdown */ job = callback_job_create(shutdown_callback, NULL, NULL, NULL); - hydra->scheduler->schedule_job(hydra->scheduler, (job_t*)job, 1); + lib->scheduler->schedule_job(lib->scheduler, (job_t*)job, 1); return FALSE; } } @@ -379,7 +378,7 @@ android_service_t *android_service_create(android_creds_t *creds) charon->bus->add_listener(charon->bus, &this->public.listener); this->job = callback_job_create((callback_job_cb_t)initiate, this, NULL, NULL); - hydra->processor->queue_job(hydra->processor, (job_t*)this->job); + lib->processor->queue_job(lib->processor, (job_t*)this->job); return &this->public; } -- cgit v1.2.3