X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fsamples%2FHelloWorld.c;fp=plugins%2Fsamples%2FHelloWorld.c;h=e487304ff7ba45a19640bd8d25e2710bcf7c1e04;hb=c37c8e6291c36665dd23601a8ce1449afd43e6df;hp=fe11784618506c113f694125dd853431761ff867;hpb=9ee05e42384b34d8626cd8cccfd50538136f369f;p=src%2Fapp-framework-binder.git diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c index fe117846..e487304f 100644 --- a/plugins/samples/HelloWorld.c +++ b/plugins/samples/HelloWorld.c @@ -55,7 +55,7 @@ static void pingEvent(struct afb_req request) { json_object *query = afb_req_json(request); afb_daemon_broadcast_event(interface->daemon, "event", json_object_get(query)); - ping(request, query, "event"); + ping(request, json_object_get(query), "event"); }