aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_socket.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-15 14:49:41 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:04:18 +0200
commitbb381e26c6d132fd0d29641cdb75335f52cae309 (patch)
tree982649d5835e392b2a0f866ac0efc296f0f6e720 /src/libcharon/plugins/stroke/stroke_socket.c
parente18556e9e9e5d870a9846efb1d0a1edd1638fafa (diff)
downloadstrongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.bz2
strongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.xz
Refer to scheduler and processor via lib and not hydra.
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_socket.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_socket.c b/src/libcharon/plugins/stroke/stroke_socket.c
index 891128f73..0a5110fd3 100644
--- a/src/libcharon/plugins/stroke/stroke_socket.c
+++ b/src/libcharon/plugins/stroke/stroke_socket.c
@@ -586,7 +586,7 @@ static job_requeue_t receive(private_stroke_socket_t *this)
ctx->this = this;
job = callback_job_create((callback_job_cb_t)process,
ctx, (void*)stroke_job_context_destroy, this->job);
- hydra->processor->queue_job(hydra->processor, (job_t*)job);
+ lib->processor->queue_job(lib->processor, (job_t*)job);
return JOB_REQUEUE_FAIR;
}
@@ -684,7 +684,7 @@ stroke_socket_t *stroke_socket_create()
this->job = callback_job_create((callback_job_cb_t)receive,
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;
}