From 034b0ab71f42b927c4e6ba88e552643258e95069 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 12 Jul 2019 15:41:32 +0200 Subject: [PATCH] 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 Change-Id: I320e13477351ff8f9b8ad12fa21234cc0823b7f4 --- src/afb-stub-ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /*****************************************************/ -- 2.16.6