projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f22223
)
Set quit_services based on WM_QUIT wParam under Windows.
author
Michael Poole
<mdpoole@troilus.org>
Wed, 7 Mar 2007 05:19:27 +0000
(
00:19
-0500)
committer
Michael Poole
<mdpoole@troilus.org>
Wed, 7 Mar 2007 05:19:27 +0000
(
00:19
-0500)
src/ioset-win32.c
patch
|
blob
|
history
diff --git
a/src/ioset-win32.c
b/src/ioset-win32.c
index 7be12b06c70ca6dbaa300f7e23361af3528d6527..d58696a1d6d75ff84830bdd72e93f1c27ff600c1 100644
(file)
--- a/
src/ioset-win32.c
+++ b/
src/ioset-win32.c
@@
-82,6
+82,10
@@
ioset_win32_wndproc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
events = WSAGETSELECTEVENT(lParam);
err = WSAGETSELECTERROR(lParam);
ioset_events(fd, (events & (FD_READ | FD_ACCEPT | FD_CLOSE)) != 0, (events & (FD_WRITE | FD_CONNECT)) != 0);
+ return 0;
+ case WM_QUIT:
+ quit_services = wParam;
+ return 0;
}
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}