Fix detection of error in call synchronous 04/22004/1
authorJose Bollo <jose.bollo@iot.bzh>
Mon, 29 Jul 2019 09:48:00 +0000 (11:48 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Mon, 29 Jul 2019 10:00:43 +0000 (12:00 +0200)
commit0abe8de32bef957b2f72eee7c7eb30c3a9a9efeb
treec83f5758caeebc24dc06b616e555b234782e389a
parentad66a4685f5d50ef05338157c84a572088693ed3
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 <jose.bollo@iot.bzh>
src/afb-calls.c