ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit c1ea031434c56126d1b0ba139f605c55d14ddf2f
parent 95c3aa1624f47d0cad8a77541ab876b3b078a243
Author: nion@noname <unknown>
Date:   Sun, 29 Jan 2006 19:23:48 +0100

fixed channel join bug

Diffstat:
Mii.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ii.c b/ii.c @@ -421,10 +421,9 @@ static void run() maxfd = irc; FD_SET(irc, &rd); for(c = channels; c; c = c->next) { - if(maxfd < c->fd) { + if(maxfd < c->fd) maxfd = c->fd; - FD_SET(c->fd, &rd); - } + FD_SET(c->fd, &rd); } r = select(maxfd + 1, &rd, 0, 0, 0);