X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=bindings%2Fsamples%2Fhello3.c;fp=bindings%2Fsamples%2Fhello3.c;h=37da6127aaa522049a7dfe0f11e5cc4ba3fd93e6;hp=1d7c1954d2ffc4fdef10f22491240b84821f7d52;hb=037157919df0a7ee90837037748a6456431e6469;hpb=a445694bda8773cb80566808b5dcb56f033dee58 diff --git a/bindings/samples/hello3.c b/bindings/samples/hello3.c index 1d7c1954..37da6127 100644 --- a/bindings/samples/hello3.c +++ b/bindings/samples/hello3.c @@ -424,7 +424,7 @@ static void broadcast(afb_req_t request) afb_req_success(request, NULL, NULL); pthread_mutex_unlock(&mutex); } else if (name != NULL) { - if (0 > afb_daemon_broadcast_event(name, object)) + if (0 > afb_daemon_broadcast_event(name, json_object_get(object))) afb_req_fail(request, "failed", "broadcast error"); else afb_req_success(request, NULL, NULL);