server: fix connect failures on newer kernels

Mike Kaplinskiy mike.kaplinskiy at
Sun Jan 23 23:21:15 CST 2011

For some reason the newer kernels report POLLOUT|POLLERR|POLLHUP when
connect() fails. Strip the POLLOUT in this case. This (hopefully)
fixes bug 25456.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list