diff options
author | David Walter Seikel | 2016-01-03 20:35:53 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-01-03 20:35:53 +1000 |
commit | 72093df9fdf281ccd581baf5993bdc2ec6957342 (patch) | |
tree | 5e071b445f7a8713776df6defb794549d9d16b7f /src/extantz/extantz.c | |
parent | Re-enable the web browser I had forgotten disabling. (diff) | |
download | SledjHamr-72093df9fdf281ccd581baf5993bdc2ec6957342.zip SledjHamr-72093df9fdf281ccd581baf5993bdc2ec6957342.tar.gz SledjHamr-72093df9fdf281ccd581baf5993bdc2ec6957342.tar.bz2 SledjHamr-72093df9fdf281ccd581baf5993bdc2ec6957342.tar.xz |
Clean up logging, removing most of the printf's.
Diffstat (limited to 'src/extantz/extantz.c')
-rw-r--r-- | src/extantz/extantz.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index c2dadba..840dfec 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -42,7 +42,6 @@ static Eina_Bool clientParser(void *data, Connection *connection, char *SID, cha | |||
42 | || (0 == strncmp(command, "llSay(", 6)) | 42 | || (0 == strncmp(command, "llSay(", 6)) |
43 | || (0 == strncmp(command, "llShout(", 8))) | 43 | || (0 == strncmp(command, "llShout(", 8))) |
44 | { | 44 | { |
45 | |||
46 | sprintf(buf, "%s: %s", SID, command); | 45 | sprintf(buf, "%s: %s", SID, command); |
47 | if (ourGlobals->purkle) | 46 | if (ourGlobals->purkle) |
48 | { | 47 | { |
@@ -53,7 +52,7 @@ static Eina_Bool clientParser(void *data, Connection *connection, char *SID, cha | |||
53 | push_lua(ourGlobals->purkle->L, "@ ( $ )", _P, "append", buf, 0); | 52 | push_lua(ourGlobals->purkle->L, "@ ( $ )", _P, "append", buf, 0); |
54 | } | 53 | } |
55 | else | 54 | else |
56 | PW("No purkle to put - %s", buf); | 55 | PE("No purkle to put - %s", buf); |
57 | } | 56 | } |
58 | else if (0 == strncmp(command, "llDialog(", 9)) | 57 | else if (0 == strncmp(command, "llDialog(", 9)) |
59 | { | 58 | { |
@@ -69,7 +68,6 @@ static Eina_Bool clientParser(void *data, Connection *connection, char *SID, cha | |||
69 | } | 68 | } |
70 | else | 69 | else |
71 | PE("No LSLGuiMess to send - %s", command); | 70 | PE("No LSLGuiMess to send - %s", command); |
72 | |||
73 | } | 71 | } |
74 | else if (0 == strncmp(command, "loadSim(", 8)) | 72 | else if (0 == strncmp(command, "loadSim(", 8)) |
75 | { | 73 | { |
@@ -556,7 +554,7 @@ static Eina_Bool _makeLove(void *data) | |||
556 | ecore_job_add((Ecore_Cb) _makeFiles, ourGlobals); | 554 | ecore_job_add((Ecore_Cb) _makeFiles, ourGlobals); |
557 | // ecore_timer_add(0.1, _makeFiles, ourGlobals); | 555 | // ecore_timer_add(0.1, _makeFiles, ourGlobals); |
558 | 556 | ||
559 | PD("About to try connecting to a love server."); | 557 | // PD("About to try connecting to a love server."); |
560 | reachOut("love", "./love", "127.0.0.1", 8211 + 1, ourGlobals, (Ecore_Event_Handler_Cb) _add, /*(Ecore_Event_Handler_Cb) _data*/ NULL, (Ecore_Event_Handler_Cb) _del, clientParser); | 558 | reachOut("love", "./love", "127.0.0.1", 8211 + 1, ourGlobals, (Ecore_Event_Handler_Cb) _add, /*(Ecore_Event_Handler_Cb) _data*/ NULL, (Ecore_Event_Handler_Cb) _del, clientParser); |
561 | 559 | ||
562 | return ECORE_CALLBACK_CANCEL; | 560 | return ECORE_CALLBACK_CANCEL; |