#include "portab.h"
-static char UNUSED id[] = "$Id: io.c,v 1.28 2008/01/02 10:29:51 fw Exp $";
+static char UNUSED id[] = "$Id: io.c,v 1.28.2.1 2008/04/03 14:16:35 fw Exp $";
#include <assert.h>
#include <stdlib.h>
assert(fd >= 0);
#if defined(IO_USE_SELECT) && defined(FD_SETSIZE)
- if (fd >= FD_SETSIZE) {
+ if (io_masterfd < 0 && fd >= FD_SETSIZE) {
Log(LOG_ERR,
"fd %d exceeds FD_SETSIZE (%u) (select can't handle more file descriptors)",
fd, FD_SETSIZE);