aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-09 10:28:46 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-09 10:28:46 +0000
commitd60672da5474fb05ae05b98be1c91727b21f77d1 (patch)
treeaedb01c6348c0ce8e62f2b650e996f519ecc0875
parent1e5c1ea64d51c641e6a711a101be8d4ed4b99656 (diff)
fixing bug #2966186
svn path=/trunk/externals/mrpeach/; revision=13197
-rw-r--r--net/tcpserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tcpserver.c b/net/tcpserver.c
index 5a37de1..f91f73b 100644
--- a/net/tcpserver.c
+++ b/net/tcpserver.c
@@ -96,11 +96,13 @@ typedef struct _tcpserver
t_outlet *x_addrout;
t_outlet *x_status_outlet;
t_int x_dump; // 1 = hexdump received bytes
+
t_symbol *x_host[MAX_CONNECT];
t_int x_fd[MAX_CONNECT];
t_int x_fdbuf[MAX_CONNECT];
u_long x_addr[MAX_CONNECT];
t_tcpserver_socketreceiver *x_sr[MAX_CONNECT];
+
t_atom x_addrbytes[4];
t_int x_sock_fd;
t_int x_connectsocket;
@@ -870,6 +872,7 @@ static void tcpserver_notify(t_tcpserver *x)
{
x->x_host[k] = x->x_host[k + 1];
x->x_fd[k] = x->x_fd[k + 1];
+ x->x_sr[k] = x->x_sr[k + 1];
}
}
}