initialize m_maxFD to avoid passing invalid values to select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
void RunLoop(int timeout = wxSELECT_TIMEOUT_INFINITE);
|
||||
|
||||
protected:
|
||||
wxSelectDispatcher() { }
|
||||
wxSelectDispatcher() { m_maxFD = -1; }
|
||||
|
||||
private:
|
||||
void ProcessSets(fd_set* readset, fd_set* writeset, fd_set* exeptset, int max_fd);
|
||||
|
Reference in New Issue
Block a user