mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 15:19:03 +00:00
We call getsockopt(SO_ERROR) to get the socket error, but then we were calling perror, which uses the global errno instead.
We call getsockopt(SO_ERROR) to get the socket error, but then we were calling perror, which uses the global errno instead.