projects
/
IOMultiplexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524d247
)
[IOMultiplexerV2] Fixed WIN32 backend bug (it's still receiving events for removed...
author
pk910
<philipp@zoelle1.de>
Tue, 15 Jul 2014 22:14:48 +0000
(
00:14
+0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 15 Jul 2014 22:14:48 +0000
(
00:14
+0200)
src/IOHandler/IOEngine_win32.c
patch
|
blob
|
history
diff --git
a/src/IOHandler/IOEngine_win32.c
b/src/IOHandler/IOEngine_win32.c
index 0a0a7acf73c86a31ca2b4a6e0bcadf36cf95d5d7..ffc44e17fea86b856a163bada7614e3ef22ed046 100644
(file)
--- a/
src/IOHandler/IOEngine_win32.c
+++ b/
src/IOHandler/IOEngine_win32.c
@@
-67,6
+67,8
@@
static LRESULT CALLBACK engine_win32_wndproc(HWND hWnd, UINT uMsg, WPARAM wParam
return 0;
case IDT_SOCKET:
iosock = engine_win32_get_iosock(wParam);
+ if(!iosock)
+ return 0;
events = WSAGETSELECTEVENT(lParam);
if((events & FD_CONNECT)) {