diff --git a/Changes b/Changes index b656351ee..8314d5e68 100644 --- a/Changes +++ b/Changes @@ -516,3 +516,4 @@ seen. gmtime warning still there - Fixed minor socksfd problem in read_message - Fixed identd problem - Commited McSkaf's tab patch for win32 +- Possible fixed fdlist problem with default_fdlist diff --git a/src/ircd.c b/src/ircd.c index b85ca700b..3c3901c76 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -1111,7 +1111,7 @@ int InitwIRCD(argc, argv) { int i; for (i = MAXCONNECTIONS + 1; i > 0; i--) - default_fdlist.entry[i] = i - 1; + default_fdlist.entry[i] = i; } #endif if (portnum < 0)