diff options
author | sin <sin@2f30.org> | 2014-09-19 16:11:50 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-19 16:12:08 +0100 |
commit | 34d5656caaffcd9c13190dbe7bbc9c8c03cf8a87 (patch) | |
tree | aaf2ee1c0d1c172395bca08665c95f36936ea689 | |
parent | 32b38598f8985a3dc249d9ba6f26b67cf833688a (diff) |
Initialize fdmax
-rw-r--r-- | ratox.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1045,6 +1045,7 @@ loop(void) FD_ZERO(&rfds); + fdmax = -1; for (i = 0; i < LEN(gslots); i++) { FD_SET(gslots[i].fd[IN], &rfds); if (gslots[i].fd[IN] > fdmax) |