aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-07-12 15:41:32 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-07-12 18:23:07 +0200
commit034b0ab71f42b927c4e6ba88e552643258e95069 (patch)
treea38f685ab5f5c452a51ab3c04f48ad9b86a2cfa8
parent919445036879bb7681cd19582a899ea43609c8a3 (diff)
Revert "afb-stub-ws: Allow unordered process of messages"
This reverts commit 5425e054fbf87fe6d024103f46e53f2a28e074f2. The change introduced in the reverted commit is no more necessary since events are sent asynchronousely. Bug-AGL: SPEC-2215 Bug-AGL: SPEC-2219 Bug-AGL: SPEC-2542 Bug-AGL: SPEC-2599 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: I320e13477351ff8f9b8ad12fa21234cc0823b7f4
-rw-r--r--src/afb-stub-ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index 0e777f5a..f008c418 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -649,7 +649,7 @@ static void on_hangup(void *closure)
static int enqueue_processing(struct afb_proto_ws *proto, void (*callback)(int signum, void* arg), void *arg)
{
- return jobs_queue(NULL /* proto */, 0, callback, arg);
+ return jobs_queue(proto, 0, callback, arg);
}
/*****************************************************/