Up to [local] / src / usr.bin / whois
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_5_BASE
Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 3 15:25:18 2014 UTC (10 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)
The whois() function is called in a loop so make sure we close the socket to the whois server before returning. Adapted from a diff from Loganaden Velvindron.