summaryrefslogtreecommitdiff
path: root/src/fdevent_freebsd_kqueue.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2010-08-14 12:08:33 +0000
committerStefan Bühler <stbuehler@web.de>2010-08-14 12:08:33 +0000
commit00fef415a53555bc88ed39c7138a7da97a8297e2 (patch)
tree5823576740c49ce4021f198076f47d8b3cab867e /src/fdevent_freebsd_kqueue.c
parent1c796b2d153a5040570b6a3995fa600e47cdc445 (diff)
downloadlighttpd1.4-00fef415a53555bc88ed39c7138a7da97a8297e2.tar.gz
lighttpd1.4-00fef415a53555bc88ed39c7138a7da97a8297e2.zip
Silence freebsd_kqueue delete errors
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2764 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/fdevent_freebsd_kqueue.c')
-rw-r--r--src/fdevent_freebsd_kqueue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fdevent_freebsd_kqueue.c b/src/fdevent_freebsd_kqueue.c
index b4e862cb..f3a2724a 100644
--- a/src/fdevent_freebsd_kqueue.c
+++ b/src/fdevent_freebsd_kqueue.c
@@ -39,12 +39,15 @@ static int fdevent_freebsd_kqueue_event_del(fdevents *ev, int fde_ndx, int fd) {
NULL, 0,
&ts);
+ /* Ignore errors for now, as we remove for READ and WRITE without knowing what was registered */
+#if 0
if (ret == -1) {
log_error_write(ev->srv, __FILE__, __LINE__, "SS",
"kqueue event delete failed: ", strerror(errno));
return -1;
}
+#endif
return -1;
}