aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_socket.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-05 13:52:05 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:22 +0200
commitc5f7146b17453d1d4d2c7cbd4e9880a3fd342591 (patch)
tree584be6d9d6e57082ad9c50e8cffc1aeee86e5514 /src/libcharon/plugins/stroke/stroke_socket.c
parent633fbe4fde8887d8026c1c121f26c220dda26329 (diff)
downloadstrongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.bz2
strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.xz
Refer to processor via hydra and not charon.
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_socket.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_socket.c b/src/libcharon/plugins/stroke/stroke_socket.c
index 06a636a7d..891128f73 100644
--- a/src/libcharon/plugins/stroke/stroke_socket.c
+++ b/src/libcharon/plugins/stroke/stroke_socket.c
@@ -24,10 +24,10 @@
#include <unistd.h>
#include <errno.h>
-#include <processing/jobs/callback_job.h>
#include <hydra.h>
#include <daemon.h>
#include <threading/thread.h>
+#include <processing/jobs/callback_job.h>
#include "stroke_config.h"
#include "stroke_control.h"
@@ -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);
- charon->processor->queue_job(charon->processor, (job_t*)job);
+ hydra->processor->queue_job(hydra->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);
- charon->processor->queue_job(charon->processor, (job_t*)this->job);
+ hydra->processor->queue_job(hydra->processor, (job_t*)this->job);
return &this->public;
}