diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-05-17 23:47:13 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-05-17 23:47:13 +0200 |
commit | 031601a0c5aa944493660f991d66702cc7e52755 (patch) | |
tree | 0742586d8e18762e20193dc8e25aeb1a60193e7d /plugins/samples | |
parent | 65bc678960567038ca4d07d1f9c5784b6c7a7834 (diff) |
event sender: better naming
Change-Id: I82d918cd14b1e368ef509fa3a1b21c3e55a6b98d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/samples')
-rw-r--r-- | plugins/samples/HelloWorld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c index 35b95cab..78a1eafd 100644 --- a/plugins/samples/HelloWorld.c +++ b/plugins/samples/HelloWorld.c @@ -54,7 +54,7 @@ static void pingBug (struct afb_req request) static void pingEvent(struct afb_req request) { json_object *query = afb_req_json(request); - afb_evmgr_push(afb_daemon_get_evmgr(interface->daemon), "event", query); + afb_event_sender_push(afb_daemon_get_event_sender(interface->daemon), "event", query); ping(request, json_object_get(query), "event"); } |