aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hswitch.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-04 10:10:13 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-04 10:10:13 +0200
commit0b838a6101edc810098ee0645d3bfd966096ae07 (patch)
tree284d0861a2f956e6d22c6839fdc913c41ebd11a5 /src/afb-hswitch.c
parent5e7d680c173ddbb26db4e49f7738f82e89299362 (diff)
Definitive switch to internal's xreq
This switch allows to work on a common base for the requests. Change-Id: I94e7fdda80c1966af399309334c41c7c8c8259dc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hswitch.c')
-rw-r--r--src/afb-hswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hswitch.c b/src/afb-hswitch.c
index eab5b9b7..0eae18f7 100644
--- a/src/afb-hswitch.c
+++ b/src/afb-hswitch.c
@@ -47,7 +47,7 @@ int afb_hswitch_apis(struct afb_hreq *hreq, void *data)
if (afb_hreq_init_req_call(hreq, api, lenapi, verb, lenverb) < 0)
afb_hreq_reply_error(hreq, MHD_HTTP_INTERNAL_SERVER_ERROR);
else
- afb_apis_xcall(&hreq->xreq);
+ afb_apis_call(&hreq->xreq);
return 1;
}