Refer to scheduler via hydra and not charon.

This commit is contained in:
Tobias Brunner
2010-09-02 19:01:24 +02:00
parent 8c387909eb
commit 61e8e73206
14 changed files with 32 additions and 29 deletions
@@ -142,7 +142,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);
charon->scheduler->schedule_job(charon->scheduler, (job_t*)job, 1);
hydra->scheduler->schedule_job(hydra->scheduler, (job_t*)job, 1);
return FALSE;
}
}