Fix tor-fw-helper-natpmp.c on Windows
On tor-dev ( https://lists.torproject.org/pipermail/tor-dev/2012-November/004128.html ), Gisle Vanem reports:
The code in tools\tor-fw-helper\tor-fw-helper-natpmp.c does
things wrong on Winsock where e.g. errno isn't set on
socket-errors and 'fd' is (always?) >= FD_SETSIZE.
Patch attached.
I'm attaching the patch here and making a ticket. This is an 0.2.3 bug, so marking as possible for that milestone.