diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-07-05 13:52:05 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-09-02 19:01:22 +0200 |
commit | c5f7146b17453d1d4d2c7cbd4e9880a3fd342591 (patch) | |
tree | 584be6d9d6e57082ad9c50e8cffc1aeee86e5514 /src/libcharon/processing/scheduler.c | |
parent | 633fbe4fde8887d8026c1c121f26c220dda26329 (diff) | |
download | strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.bz2 strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.xz |
Refer to processor via hydra and not charon.
Diffstat (limited to 'src/libcharon/processing/scheduler.c')
-rw-r--r-- | src/libcharon/processing/scheduler.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcharon/processing/scheduler.c b/src/libcharon/processing/scheduler.c index 345af502a..85796ba18 100644 --- a/src/libcharon/processing/scheduler.c +++ b/src/libcharon/processing/scheduler.c @@ -19,6 +19,7 @@ #include "scheduler.h" +#include <hydra.h> #include <daemon.h> #include <processing/processor.h> #include <processing/jobs/callback_job.h> @@ -199,7 +200,7 @@ static job_requeue_t schedule(private_scheduler_t * this) remove_event(this); this->mutex->unlock(this->mutex); DBG2(DBG_JOB, "got event, queuing job for execution"); - charon->processor->queue_job(charon->processor, event->job); + hydra->processor->queue_job(hydra->processor, event->job); free(event); return JOB_REQUEUE_DIRECT; } @@ -351,7 +352,7 @@ scheduler_t * scheduler_create() this->condvar = condvar_create(CONDVAR_TYPE_DEFAULT); this->job = callback_job_create((callback_job_cb_t)schedule, this, NULL, NULL); - charon->processor->queue_job(charon->processor, (job_t*)this->job); + hydra->processor->queue_job(hydra->processor, (job_t*)this->job); return &this->public; } |