The whois() function is called in a loop so make sure we close the
authormillert <millert@openbsd.org>
Fri, 3 Jan 2014 15:25:18 +0000 (15:25 +0000)
committermillert <millert@openbsd.org>
Fri, 3 Jan 2014 15:25:18 +0000 (15:25 +0000)
commit643a0b2e0b74f89c4c0e749a06cc67f748f76a8d
tree67f65df7733373026a4f2ee5ed111d8558c34051
parent1ed1212744f8991ccd0502d386405bcfec473a6e
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.
usr.bin/whois/whois.c