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
afb-cred: provide default values of credentials
[src/app-framework-binder.git]
/
src
/
afb-subcall.c
diff --git
a/src/afb-subcall.c
b/src/afb-subcall.c
index
857f48e
..
4af6274
100644
(file)
--- a/
src/afb-subcall.c
+++ b/
src/afb-subcall.c
@@
-21,7
+21,7
@@
#include <string.h>
#include <json-c/json.h>
#include <string.h>
#include <json-c/json.h>
-#include <afb/afb-
req
-itf.h>
+#include <afb/afb-
event
-itf.h>
#include "afb-subcall.h"
#include "afb-msg-json.h"
#include "afb-subcall.h"
#include "afb-msg-json.h"
@@
-49,11
+49,11
@@
static void subcall_destroy(struct afb_xreq *xreq)
free(subcall);
}
free(subcall);
}
-static void subcall_reply(struct afb_xreq *xreq, int
iserror
, struct json_object *obj)
+static void subcall_reply(struct afb_xreq *xreq, int
status
, struct json_object *obj)
{
struct subcall *subcall = CONTAINER_OF_XREQ(struct subcall, xreq);
{
struct subcall *subcall = CONTAINER_OF_XREQ(struct subcall, xreq);
- subcall->callback(subcall->closure,
iserror
, obj);
+ subcall->callback(subcall->closure,
status
, obj);
json_object_put(obj);
}
json_object_put(obj);
}