From 9777a02c7540fdec145feb948b4bbf1cd44c3352 Mon Sep 17 00:00:00 2001 From: fulup Date: Sun, 13 Aug 2017 16:50:34 +0200 Subject: Fix AFB_MESSAGE with null arguments --- Controler-afb/ctl-binding.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Controler-afb/ctl-binding.c') diff --git a/Controler-afb/ctl-binding.c b/Controler-afb/ctl-binding.c index dc225a4..19f97eb 100644 --- a/Controler-afb/ctl-binding.c +++ b/Controler-afb/ctl-binding.c @@ -68,6 +68,9 @@ PUBLIC int CtlBindingInit () { errcount += DispatchInit(); errcount += LuaLibInit(); + // now that everything is initialised execute the onload action + errcount += DispatchOneOnLoad(CONTROL_ONLOAD_DEFAULT); + AFB_DEBUG ("Audio Policy Control Binding Done errcount=%d", errcount); return errcount; } -- cgit 1.2.3-korg