diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-29 17:32:00 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-29 17:32:00 +0000 |
commit | 3b0519565763342e77515975173b681fa7171ee5 (patch) | |
tree | 8e2e4fa74c375aea0da6677af2197b69d585b50f /tcpreceive.c | |
parent | bbca313506e4a50f849a2d27def90304e3a819df (diff) |
made it compile on w32 again
svn path=/trunk/externals/iem/iemnet/; revision=13308
Diffstat (limited to 'tcpreceive.c')
-rw-r--r-- | tcpreceive.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpreceive.c b/tcpreceive.c index ed18d2c..10b688c 100644 --- a/tcpreceive.c +++ b/tcpreceive.c @@ -72,8 +72,9 @@ static int tcpreceive_disconnect(t_tcpreceive *x, int id); static void tcpreceive_read_callback(t_tcpconnection *y, int argc, t_atom*argv) { t_tcpreceive*x=NULL; + int index=-1; if(NULL==y || NULL==(x=y->owner))return; - int index=tcpreceive_find_socket(x, y->socket); + index=tcpreceive_find_socket(x, y->socket); if(index>=0) { if(argc) { |