Move the open and close of the hosts file into "read_hosts_file()".
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 Jan 2005 10:20:17 +0000 (10:20 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 Jan 2005 10:20:17 +0000 (10:20 +0000)
commit9fa15a274c17924f32049ae47fd19f93f98a7b3a
treeb9c9956945309b76c8f318f4e4e8b3a080eb0240
parentdbc0d34ded145521afe0abdc08a65e84b20f17dc
Move the open and close of the hosts file into "read_hosts_file()".

On Windows, if we don't get the SYSTEMROOT environment variable, try
various locations where the hosts file is known to exist.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12972 f5534014-38df-0310-8fa8-9805f1628bb7
epan/addr_resolv.c