aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-05 18:19:39 +1000
committerDavid Walter Seikel2012-02-05 18:19:39 +1000
commit5fc1d9cce112bd0df3604be3a9efbc43ff5170a8 (patch)
tree7f3adb04e6b71cdbc841c8cde641b39b151e6d65 /LuaSL/src/LuaSL_main.c
parentTell the scripts to quit after a short delay. (diff)
downloadSledjHamr-5fc1d9cce112bd0df3604be3a9efbc43ff5170a8.zip
SledjHamr-5fc1d9cce112bd0df3604be3a9efbc43ff5170a8.tar.gz
SledjHamr-5fc1d9cce112bd0df3604be3a9efbc43ff5170a8.tar.bz2
SledjHamr-5fc1d9cce112bd0df3604be3a9efbc43ff5170a8.tar.xz
Do script quitting differently, using the wire protocol method, which means I got to debug that.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 5f48c5e..c441bc5 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -123,7 +123,7 @@ static void dirList_quit(const char *name, const char *path, void *data)
123 123
124 snprintf(buf, sizeof(buf), "%s/%s.events", path, name); 124 snprintf(buf, sizeof(buf), "%s/%s.events", path, name);
125// PD("Quitting Lua script %s", buf); 125// PD("Quitting Lua script %s", buf);
126 status = sendToChannel(buf, "quit()"); 126 status = sendToChannel(buf, "_LSL.quit()");
127 if (status) 127 if (status)
128 PE("Error trying to kill script %s : %s", buf, status); 128 PE("Error trying to kill script %s : %s", buf, status);
129 } 129 }