diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-10-25 17:04:52 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-10-25 17:04:52 +0000 |
commit | 70a37327e56146dc411b4d361d0e6c0465aec80f (patch) | |
tree | 18ca084fa668d8669c33d1d993f7dedc3be3c979 /signal | |
parent | 56e8fe7c9deb1565c8be48005b08a219955e7bf9 (diff) |
fiddling with build system
svn path=/trunk/externals/ggee/; revision=197
Diffstat (limited to 'signal')
-rwxr-xr-x | signal/streamin~.c | 2 | ||||
-rwxr-xr-x | signal/streamout~.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/signal/streamin~.c b/signal/streamin~.c index 54ab283..824543e 100755 --- a/signal/streamin~.c +++ b/signal/streamin~.c @@ -360,6 +360,8 @@ static void *streamin_new(t_floatarg fportno, t_floatarg prot) t_streamin *x;
int i;
+ if (fportno == 0) fportno = 4267;
+
post("port %f",fportno);
x = (t_streamin *)pd_new(streamin_class);
diff --git a/signal/streamout~.c b/signal/streamout~.c index 6e76b36..f691860 100755 --- a/signal/streamout~.c +++ b/signal/streamout~.c @@ -101,7 +101,8 @@ static void streamout_connect(t_streamout *x, t_symbol *hostname, t_floatarg fpo int sockfd;
int portno = fportno;
x->hostname = hostname;
- x->portno = (int) fportno;
+ if (!fportno) x->portno = 4267;
+ else x->portno = (int) fportno;
x->x_tag.count = 0;
|