From 2777b0a6ff759958047841aadace3f4b655e714f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 29 Jul 2017 13:32:27 +0200 Subject: [PATCH] Fix FileDescriptorEvent constructor to adhere to the given event mask. --- source/vibe/core/core.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index ff2f68f..0f58e83 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -972,6 +972,7 @@ struct FileDescriptorEvent { private this(int fd, Trigger event_mask) nothrow { m_socket = eventDriver.sockets.adoptStream(fd); + m_trigger = event_mask; } this(this)