ticl

tiny irc channel linker
git clone git://git.ircforever.org/ticl
Log | Files | Refs | Submodules | README | LICENSE

commit 7c65a52929d95ad5a4108706bb32c7c7f754b193
parent 8c6dee8c450f9a7d9b97e51d47429d353a42ff9d
Author: libredev <libredev@ircforever.org>
Date:   Wed, 22 Mar 2023 19:32:34 +0530

fixed openbsd build 2

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -389,7 +389,7 @@ fd_write(int fd) fatal("epoll_ctl:"); #else struct kevent ev; - EV_SET(&ev, fd, EV_WRITE, EV_DISABLE, 0, 0, 0); + EV_SET(&ev, fd, EVFILT_WRITE, EV_DISABLE, 0, 0, 0); if (kevent(kqfd, &ev, 1, NULL, 0, NULL) == -1) fatal("kevent:"); fd_register(fd, EV_READ);