mirror of
https://github.com/nmap/nmap.git
synced 2026-02-07 05:56:34 +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.