ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit 34d5656caaffcd9c13190dbe7bbc9c8c03cf8a87
parent 32b38598f8985a3dc249d9ba6f26b67cf833688a
Author: sin <sin@2f30.org>
Date:   Fri, 19 Sep 2014 16:11:50 +0100

Initialize fdmax

Diffstat:
Mratox.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ratox.c b/ratox.c @@ -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)