Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Prepare xreq to be aware of the version
[src/app-framework-binder.git]
/
src
/
afb-api-so-v1.c
diff --git
a/src/afb-api-so-v1.c
b/src/afb-api-so-v1.c
index
a81ec17
..
eedfc01
100644
(file)
--- a/
src/afb-api-so-v1.c
+++ b/
src/afb-api-so-v1.c
@@
-70,11
+70,7
@@
static void call_cb(void *closure, struct afb_xreq *xreq)
struct api_so_v1 *desc = closure;
verb = search(desc, xreq->verb);
struct api_so_v1 *desc = closure;
verb = search(desc, xreq->verb);
- if (!verb)
- afb_xreq_fail_unknown_verb(xreq);
- else
- if (!xreq_session_check_apply(xreq, verb->session))
- afb_xreq_call(xreq, verb->callback);
+ afb_xreq_call_verb_v1(xreq, verb);
}
static int service_start_cb(void *closure, int share_session, int onneed, struct afb_apiset *apiset)
}
static int service_start_cb(void *closure, int share_session, int onneed, struct afb_apiset *apiset)