about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2005-08-29 13:58:54 +0000
committerFlorian Westphal <fw@strlen.de>2005-08-29 13:58:54 +0000
commitdb992975eb2efd44d4452c566620983ecc559a4f (patch)
treec41142ddaa1f2f7470718f02be66a487cbaa3706 /src
parentc12dc45f17336141bb947275e12125e5736cf0b3 (diff)
downloadngircd-db992975eb2efd44d4452c566620983ecc559a4f.tar.gz
ngircd-db992975eb2efd44d4452c566620983ecc559a4f.zip
last cleanup accidentally broke kqueue backend.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/io.c b/src/ngircd/io.c
index 4f0b7280..6e6f5985 100644
--- 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 <assert.h>
 #include <stdlib.h>
@@ -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);