Fix crash on Windows when a socket is available for both write and read.
[tinc] / src / linux /
drwxr-xr-x   ..
-rw-r--r-- 5320 device.c