From 9929ff19ea5e96bd910a8cfc7ee94d43c277dbc3 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 12 Feb 2012 00:09:11 +1000 Subject: Missed this in the SID change commit. --- LuaSL/src/LuaSL_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'LuaSL') diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index 41fa45a..6daa97d 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c @@ -43,7 +43,10 @@ static Eina_Bool _data(void *data, int type __UNUSED__, Ecore_Con_Event_Client_D } else if (0 == strcmp(command, "start()")) { - newProc(SID, TRUE); + char buf[PATH_MAX]; + + sprintf(buf, "%s.lua.out", SID); + newProc(buf, TRUE); } else if (0 == strcmp(command, "exit()")) { @@ -52,11 +55,9 @@ static Eina_Bool _data(void *data, int type __UNUSED__, Ecore_Con_Event_Client_D } else { - char temp[PATH_MAX]; const char *status = NULL; - snprintf(temp, sizeof(temp), "%s.events", SID); - status = sendToChannel(temp, command, NULL, NULL); + status = sendToChannel(SID, command, NULL, NULL); if (status) PE("Error sending command %s to script %s : %s", command, SID, status); } -- cgit v1.1