diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-04-04 10:10:13 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-04-04 10:10:13 +0200 |
commit | 0b838a6101edc810098ee0645d3bfd966096ae07 (patch) | |
tree | 284d0861a2f956e6d22c6839fdc913c41ebd11a5 /src/afb-hswitch.c | |
parent | 5e7d680c173ddbb26db4e49f7738f82e89299362 (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.c | 2 |
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; } |