[Code] Some reformatting of do_whois.