summaryrefslogtreecommitdiffstats
path: root/conf.d/project/lua.d/onload-daemon-10-event.lua
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:57:13 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:57:13 +0200
commit3bae3ad28b6bab59e7c893f1c43747c33cf57ddc (patch)
tree4b875317fb07ecd733f0b298c2b70b8e1f55f0e2 /conf.d/project/lua.d/onload-daemon-10-event.lua
parent95a1f9344501b7ffdc7501629208e879c7a33a17 (diff)
Format: Remove spaces at EOL
Change-Id: I50bbf17cfa913b40caf0cb6752a902fb626ec1ad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/lua.d/onload-daemon-10-event.lua')
-rw-r--r--conf.d/project/lua.d/onload-daemon-10-event.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/project/lua.d/onload-daemon-10-event.lua b/conf.d/project/lua.d/onload-daemon-10-event.lua
index c0b21f9..474ebe0 100644
--- a/conf.d/project/lua.d/onload-daemon-10-event.lua
+++ b/conf.d/project/lua.d/onload-daemon-10-event.lua
@@ -45,7 +45,7 @@ function _Simple_Timer_Test (request, client)
-- if event does not exit create it now.
if (_MyContext["event"] == nil) then
_MyContext["event"]= AFB:evtmake(client["label"])
- end
+ end
-- if delay not defined default is 5s
if (client["delay"]==nil) then client["delay"]=5000 end
@@ -67,7 +67,7 @@ function _Simple_Timer_Test (request, client)
-- settimer take a table with delay+count as input (count==0 means infinite)
AFB:timerset (myTimer, "_Timer_Test_CB", context)
- -- nothing special to return send back
+ -- nothing special to return send back
AFB:success (request, myTimer)
return 0