From 67aa3feb5d7f7565b3e967c73dacae925bce8d5b Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Mon, 29 Jul 2019 11:48:00 +0200 Subject: Fix detection of error in call synchronous There fixes a bug with an inversion between info and error in implementation of synchronous calls, leading to bad detection of errors. Bug-AGL: SPEC-2697 Change-Id: I30a8cd9c45a91b442f6c501dd3b0c32cd3ea632d Signed-off-by: Jose Bollo --- src/afb-calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afb-calls.c b/src/afb-calls.c index 840e3eab..72be918d 100644 --- a/src/afb-calls.c +++ b/src/afb-calls.c @@ -345,7 +345,7 @@ static int do_sync( afb_xreq_unhooked_unref(&callreq->xreq); interr: - return store_reply(NULL, _internal_error_, NULL, object, info, error); + return store_reply(NULL, _internal_error_, NULL, object, error, info); } /******************************************************************************/ -- cgit 1.2.3-korg