diff options
author | Adam <Adam@anope.org> | 2017-10-21 20:27:10 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-21 20:27:10 -0400 |
commit | 7b2a78aa10e037d8d4b56914bc43651f552c0cb3 (patch) | |
tree | 208af48641de550e5439abf086c1ea9a1b42f61d /src/socketengines | |
parent | 0189455f5d9a0ae8ae6afd9c1ec6585c4cfb6f19 (diff) |
socketengine_poll: fix initialization fd_mappings
Diffstat (limited to 'src/socketengines')
-rw-r--r-- | src/socketengines/socketengine_poll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<struct pollfd> events(16); /** This vector maps fds to an index in the events array. */ - std::vector<int> fd_mappings(16); + std::vector<int> fd_mappings(16, -1); } void SocketEngine::Init() |