mirror of
https://github.com/nmap/nmap.git
synced 2026-02-07 14:06:33 +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.