From 7b2a78aa10e037d8d4b56914bc43651f552c0cb3 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 21 Oct 2017 20:27:10 -0400 Subject: socketengine_poll: fix initialization fd_mappings --- src/socketengines/socketengine_poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index 59991d80d..a5e86ba82 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -36,7 +36,7 @@ namespace std::vector events(16); /** This vector maps fds to an index in the events array. */ - std::vector fd_mappings(16); + std::vector fd_mappings(16, -1); } void SocketEngine::Init() -- cgit v1.2.3