Fix detection of error in call synchronous 03/22003/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 09:54:34 +0000 (11:54 +0200)
commit687d90d5f5a7ec8cd6c2b2d5f8a9c6c180c610c0
treed11bf427a8e86a028721974e9a8ebe3e9aeb3d1c
parentdaecef104cd2a6ac3e4436306e96ed48aea8271d
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