Oops - Hack fixing epplet communication dropped out.

SVN revision: 32914
This commit is contained in:
Kim Woelders 2007-11-29 18:00:10 +00:00
parent 487b826b27
commit 6b1369f762
1 changed files with 9 additions and 1 deletions

View File

@ -36,6 +36,7 @@ struct _client
char *clientname;
char *version;
char *info;
char replied;
};
static Ecore_List *client_list = NULL;
@ -207,8 +208,15 @@ ClientIpcReply(void *data, const char *str)
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