aboutsummaryrefslogtreecommitdiff
path: root/net/tcpreceive.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-29 17:26:11 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-29 17:26:11 +0000
commitf468dc9fa8023f2d89297b7238d42d6da6ec6d01 (patch)
treefe9d93a04e8461840436e3c882caa250e67c26e7 /net/tcpreceive.c
parent49118ee4d97b13d4dbe076c45c5f762698a496ab (diff)
replaced &s_... by gensym("...")
svn path=/trunk/externals/mrpeach/; revision=13305
Diffstat (limited to 'net/tcpreceive.c')
-rw-r--r--net/tcpreceive.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/tcpreceive.c b/net/tcpreceive.c
index 418e77b..5b25c1c 100644
--- a/net/tcpreceive.c
+++ b/net/tcpreceive.c
@@ -101,9 +101,9 @@ static void tcpreceive_read(t_tcpreceive *x, int sockfd)
x->x_addrbytes[2].a_w.w_float = (addr & 0x0FF00)>>8;
x->x_addrbytes[3].a_w.w_float = (addr & 0x0FF);
x->x_addrbytes[4].a_w.w_float = port;
- outlet_list(x->x_addrout, &s_list, 5L, x->x_addrbytes);
+ outlet_list(x->x_addrout, gensym("list"), 5L, x->x_addrbytes);
/* send the list out the outlet */
- if (read > 1) outlet_list(x->x_msgout, &s_list, read, x->x_msgoutbuf);
+ if (read > 1) outlet_list(x->x_msgout, gensym("list"), read, x->x_msgoutbuf);
else outlet_float(x->x_msgout, x->x_msgoutbuf[0].a_w.w_float);
}
}
@@ -150,9 +150,9 @@ static void *tcpreceive_new(t_floatarg fportno)
return (0);
}
x = (t_tcpreceive *)pd_new(tcpreceive_class);
- x->x_msgout = outlet_new(&x->x_obj, &s_anything);
- x->x_addrout = outlet_new(&x->x_obj, &s_list);
- x->x_connectout = outlet_new(&x->x_obj, &s_float);
+ x->x_msgout = outlet_new(&x->x_obj, 0);
+ x->x_addrout = outlet_new(&x->x_obj, gensym("list"));
+ x->x_connectout = outlet_new(&x->x_obj, gensym("float"));
/* clear the connection list */
for (i = 0; i < MAX_CONNECTIONS; ++i)
{
@@ -220,7 +220,7 @@ static void tcpreceive_connectpoll(t_tcpreceive *x)
x->x_addrbytes[2].a_w.w_float = (addr & 0x0FF00)>>8;
x->x_addrbytes[3].a_w.w_float = (addr & 0x0FF);
x->x_addrbytes[4].a_w.w_float = port;
- outlet_list(x->x_addrout, &s_list, 5L, x->x_addrbytes);
+ outlet_list(x->x_addrout, gensym("list"), 5L, x->x_addrbytes);
}
else
{