diff --git a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp index f998a2a..f50d67f 100644 --- a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp +++ b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp @@ -79,7 +79,7 @@ namespace ev do { idx = 0; - ret = kevent(kfd, nullptr, 0, &event, 512, nullptr); + ret = kevent(kfd, nullptr, 0, &events, 512, nullptr); if(ret > 0) { while(idx < ret)