aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/extantz.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extantz/extantz.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index 6dc7c3b..089cc41 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -33,7 +33,7 @@ static Eina_Bool _add(void *data, int type, Ecore_Con_Event_Server_Add *ev)
33 return ECORE_CALLBACK_RENEW; 33 return ECORE_CALLBACK_RENEW;
34} 34}
35 35
36static Eina_Bool clientParser(void *data, Connection *connection, char *SID, char *command, char *arguments) 36static boolean clientParser(void *data, Connection *connection, char *SID, char *command, char *arguments)
37{ 37{
38 globals *ourGlobals = data; 38 globals *ourGlobals = data;
39 char buf[PATH_MAX]; 39 char buf[PATH_MAX];
@@ -111,9 +111,9 @@ static Eina_Bool clientParser(void *data, Connection *connection, char *SID, cha
111#endif 111#endif
112 } 112 }
113 else 113 else
114 PI("Some random command %s(%s", command, arguments); 114 return FALSE;
115 115
116 return ECORE_CALLBACK_RENEW; 116 return TRUE;
117} 117}
118 118
119static Eina_Bool _del(void *data, int type, Ecore_Con_Event_Server_Del *ev) 119static Eina_Bool _del(void *data, int type, Ecore_Con_Event_Server_Del *ev)
@@ -560,7 +560,7 @@ static Eina_Bool _makeSkang(void *data)
560#if USE_LOVE 560#if USE_LOVE
561 case 5 : 561 case 5 :
562// PD("About to try connecting to a love server."); 562// PD("About to try connecting to a love server.");
563 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); 563 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, NULL);
564 break; 564 break;
565#endif 565#endif
566 566