]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Why was this select deleted???
authorhades <hades>
Tue, 16 Nov 1999 11:19:49 +0000 (11:19 +0000)
committerhades <hades>
Tue, 16 Nov 1999 11:19:49 +0000 (11:19 +0000)
hadaq/nettrans.c

index e3273315acf03e3c9f577ace19d88f5f61a05ab1..cd3bc0fa196615523c99516b976dfc5639c34769 100644 (file)
@@ -1,4 +1,4 @@
-static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.5 1999-11-16 11:14:02 hades Exp $";
+static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.6 1999-11-16 11:19:49 hades Exp $";
 
 #define _XOPEN_SOURCE_EXTENDED
 #include <unistd.h>
@@ -390,7 +390,7 @@ unsigned long NetTrans_multiRecv(NetTrans *my[], void *hadTu[], size_t size[], i
                for (i = 0; i < nrOfMsgs; i++) {
                        FD_SET(my[i]->lAtm->fd, fdSet);
                }
-               if (0 > (getdtablesize(), fdSet, NULL, NULL, NULL)) {
+               if (0 > select(getdtablesize(), fdSet, NULL, NULL, NULL)) {
                        abort();
                }
                for (i = 0; i < nrOfMsgs; i++) {