aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-01 23:35:50 +0100
committerJelmer Vernooij <jelmer@samba.org>2006-03-01 23:35:50 +0100
commit9a1555dc8521f0973347911bcb26d1038259f967 (patch)
treeba87db59dfffb13a92fbfdcaf6a667338df1b48f /ipc.c
parent5fe0207972bb2466a40dcbbc39dd1e93545f4913 (diff)
parent5e713f695f93f7dc88f225bf6a8cd16e228eff11 (diff)
[merge] wilmer
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc.c b/ipc.c
index 366b1119..1b813e7f 100644
--- a/ipc.c
+++ b/ipc.c
@@ -36,6 +36,10 @@ static char *statefile = NULL;
static void ipc_master_cmd_client( irc_t *data, char **cmd )
{
+ /* Normally data points at an irc_t block, but for the IPC master
+ this is different. We think this scary cast is better than
+ creating a new command_t structure, just to make the compiler
+ happy. */
struct bitlbee_child *child = (void*) data;
if( child && cmd[1] )