Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
comms.c
Log Message:
Oops - Hack fixing epplet communication dropped out.
===================================================================
RCS file: /cvs/e/e16/e/src/comms.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- comms.c 28 Nov 2007 19:28:54 -0000 1.85
+++ comms.c 29 Nov 2007 18:00:10 -0000 1.86
@@ -36,6 +36,7 @@
char *clientname;
char *version;
char *info;
+ char replied;
};
static Ecore_List *client_list = NULL;
@@ -207,8 +208,15 @@
Client *c = (Client *) data;
if (!str)
- str = "";
+ {
+ /* Don't send empty replies (ack's) if we ever have replied to this
+ * client. Without this hack communication with e.g. epplets fails. */
+ if (c->replied)
+ return;
+ str = "";
+ }
CommsSend(c, str);
+ c->replied = 1;
}
static void
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs