summaryrefslogtreecommitdiffstats
path: root/Controler-afb/ctl-events.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-13 16:50:34 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-13 17:31:30 +0200
commit9777a02c7540fdec145feb948b4bbf1cd44c3352 (patch)
tree85f64445ef292938839092696c449d1b7c63216e /Controler-afb/ctl-events.c
parentb65178642727536972d0c04e53b2310be58beb2e (diff)
Fix AFB_MESSAGE with null arguments
Diffstat (limited to 'Controler-afb/ctl-events.c')
-rw-r--r--Controler-afb/ctl-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Controler-afb/ctl-events.c b/Controler-afb/ctl-events.c
index 6f710e3..f76feca 100644
--- a/Controler-afb/ctl-events.c
+++ b/Controler-afb/ctl-events.c
@@ -143,7 +143,7 @@ PUBLIC void ctlapi_event_test (afb_req request) {
PUBLIC int TimerEvtInit () {
// create binder event to send test pause/resume
- afbevt = afb_daemon_make_event("request");
+ afbevt = afb_daemon_make_event("control");
if (!afb_event_is_valid(afbevt)) {
AFB_ERROR ("POLCTL_INIT: Cannot register ctl-events");
return 1;