From 35b1236c84a7f06359f7d389bd7716550c4e5d00 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Tue, 24 Jun 2008 15:29:41 +0000 Subject: [PATCH] change write to send for windows. svn:r859 --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.c b/event.c index 676dd086..a17dd622 100644 --- a/event.c +++ b/event.c @@ -1120,8 +1120,8 @@ event_del_internal(struct event *ev) /* if we are not in the right thread, we need to wake up the loop */ if (res != -1 && !EVTHREAD_IN_THREAD(base)) - write(base->th_notify_fd[1], "", 1); - + send(base->th_notify_fd[1], "", 1, 0); + return (res); } -- 2.40.0