]> jfr.im git - irc/blitzed-org/libopm.git/commitdiff
Put in ufds_size file descriptors instead of 1024
authorstrtok <redacted>
Mon, 16 Dec 2002 01:22:11 +0000 (01:22 +0000)
committerstrtok <redacted>
Mon, 16 Dec 2002 01:22:11 +0000 (01:22 +0000)
src/libopm.c

index 2c5fcf37a17839b81cd0fc073b378fb905074ced..cd2f5d04c725f2ed12c0cef8744deb1fad7d6e89 100644 (file)
@@ -1091,7 +1091,7 @@ static void libopm_check_poll(OPM_T *scanner)
       scan = (OPM_SCAN_T *) node1->data;
       LIST_FOREACH(node2, scan->connections->head)
       {
-         if(size >= 1024)
+         if(size >= ufds_size)
             break;
 
          conn = (OPM_CONNECTION_T *) node2->data;