repo: ngircd action: commit revision: path_from: revision_from: db992975eb2efd44d4452c566620983ecc559a4f: path_to: revision_to:
commit db992975eb2efd44d4452c566620983ecc559a4f Author: Florian WestphalDate: Mon Aug 29 13:58:54 2005 +0000 last cleanup accidentally broke kqueue backend. diff --git a/src/ngircd/io.c b/src/ngircd/io.c
--- a/src/ngircd/io.c +++ b/src/ngircd/io.c @@ -12,7 +12,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: io.c,v 1.8 2005/08/27 23:23:54 fw Exp $"; +static char UNUSED id[] = "$Id: io.c,v 1.9 2005/08/29 13:58:54 fw Exp $"; #include#include @@ -307,7 +307,7 @@ io_event_add_kqueue(int fd, short what) filter |= EVFILT_WRITE; if (len >= 100) { - (void)array_trunc(&io_evcache); + (void)io_event_kqueue_commit_cache(); } EV_SET(&kev, fd, filter, EV_ADD | EV_ENABLE, 0, 0, NULL);
-----END OF PAGE-----