X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-subcall.c;h=4af627475f8751b795c764b882837e87b8f6433a;hb=052c3aee6362b2e33c060e0fbddd68439bb73dcb;hp=3c75b179fee1a292dca1bf3de950de9bd42dde1d;hpb=119e23a69678d0d71a81d8460b4bc0099c8c9729;p=src%2Fapp-framework-binder.git diff --git a/src/afb-subcall.c b/src/afb-subcall.c index 3c75b179..4af62747 100644 --- a/src/afb-subcall.c +++ b/src/afb-subcall.c @@ -49,11 +49,11 @@ static void subcall_destroy(struct afb_xreq *xreq) 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); - subcall->callback(subcall->closure, iserror, obj); + subcall->callback(subcall->closure, status, obj); json_object_put(obj); }