aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_threads.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 18:28:19 +1000
committerDavid Walter Seikel2014-04-21 18:28:19 +1000
commit26df7205616dbcf80b60c1ed3c04ebea26975fe9 (patch)
tree7bc3851bf7eb3232367cdf8dc6894acf6cb51780 /LuaSL/src/LuaSL_threads.c
parentGuiLua uses LumbrJack and Runnr from the shared libraries directory at run ti... (diff)
downloadSledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.zip
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.gz
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.bz2
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.xz
Convert LuaSL to use LumbrJack.
Diffstat (limited to 'LuaSL/src/LuaSL_threads.c')
-rw-r--r--LuaSL/src/LuaSL_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_threads.c b/LuaSL/src/LuaSL_threads.c
index aec5ed6..234a7c5 100644
--- a/LuaSL/src/LuaSL_threads.c
+++ b/LuaSL/src/LuaSL_threads.c
@@ -392,7 +392,7 @@ const char *sendToChannelErrors[] =
392}; 392};
393 393
394/* send a message to a lua process */ 394/* send a message to a lua process */
395const char *sendToChannel(gameGlobals *game, const char *SID, const char *message) 395const char *sendToChannel(gameGlobals *ourGlobals, const char *SID, const char *message)
396{ 396{
397 const char *result = NULL; 397 const char *result = NULL;
398 script *dstlp; 398 script *dstlp;
@@ -401,7 +401,7 @@ const char *sendToChannel(gameGlobals *game, const char *SID, const char *messag
401 pthread_mutex_lock(&mutex_channel); 401 pthread_mutex_lock(&mutex_channel);
402 402
403 // Add the message to the queue. 403 // Add the message to the queue.
404 if ((dstlp = eina_hash_find(game->scripts, SID))) 404 if ((dstlp = eina_hash_find(ourGlobals->scripts, SID)))
405 { 405 {
406 scriptMessage *sm = NULL; 406 scriptMessage *sm = NULL;
407 407