1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00
freebsd/usr.bin/whois
Conrad Meyer c24375a7de whois(1): Fix potential double-close and logic mistakes
Close the fd the poll error was detected on, rather than the last opened fd, to
fix the double-close.

Use -1 to make it explict which int variables no longer own socket file
descriptors.

Actually shrink, rather than grow, the poll timeout to match comment.

Reported by:	Coverity
CID:		1304860, 1305616
Sponsored by:	EMC / Isilon Storage Division
2016-05-11 18:03:51 +00:00
..
Makefile
Makefile.depend
whois.1 Example RIPE whois query with options and spaces. 2016-04-25 15:46:42 +00:00
whois.c whois(1): Fix potential double-close and logic mistakes 2016-05-11 18:03:51 +00:00