afb-api-dbus: Make error for subcalls if DBUS transport
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 9 Oct 2017 10:43:29 +0000 (12:43 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 9 Oct 2017 12:08:33 +0000 (14:08 +0200)
commit8145fbf6ddca62854bd6afdd79f6dd391e0097d0
treedccb02acb365a772b71bf9f72775b7fc0813160c
parent2b037bbfd58046219d9cd083ae9422b9fc200ad4
afb-api-dbus: Make error for subcalls if DBUS transport

The DBUS API actually doesn't support the subcall feature.
Until the subcall is implemented, it is better to emit an error
than to fall back to the default behaviour (calling in the context
of the service).

Change-Id: Ibf5f3524995692a509d2d648d61e9ed0f874d7c1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-api-dbus.c