]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
NetTrans_multiReceive fixed. Sergey.
authorhadaq <hadaq>
Thu, 24 Feb 2011 13:32:55 +0000 (13:32 +0000)
committerhadaq <hadaq>
Thu, 24 Feb 2011 13:32:55 +0000 (13:32 +0000)
hadaq/nettrans.c

index 5dc19a7fe5c8c02e67bd4d5e5dfe0dcadc4084c4..2e44949c20174555fa574f44f679f4da2b4ad0b5 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.43 2011-02-14 14:03:26 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.44 2011-02-24 13:32:55 hadaq Exp $";
 
 
 #define _GNU_SOURCE
@@ -400,7 +400,7 @@ unsigned long NetTrans_multiRecv(NetTrans *my[], void *hadTu[], size_t size[], i
        return msgIsComplete;
 }
 
-fd_set *NetTrans_multiReceive(NetTrans *my[], void *hadTu[], size_t size[], int nrOfMsgs)
+void NetTrans_multiReceive(NetTrans *my[], fd_set * fdSet, int nrOfMsgs)
 {
        /*
         *  This function does not have a limitation of a number of subsystems 
@@ -408,7 +408,6 @@ fd_set *NetTrans_multiReceive(NetTrans *my[], void *hadTu[], size_t size[], int
         *  which should be later checked with FD_ISSET. S.Y. 
         */
        int i;
-       fd_set fdSetS, *fdSet = &fdSetS;
 
        FD_ZERO(fdSet);