From: robertc <> Date: Sat, 8 Feb 2003 09:32:53 +0000 (+0000) Subject: Summary: Close /etc/hosts filedescriptor after parsing. X-Git-Tag: SQUID_3_0_PRE1~381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f3c7397693fa9c72e22dcf067124ddecc6854d0;p=thirdparty%2Fsquid.git Summary: Close /etc/hosts filedescriptor after parsing. Keywords: Close /etc/hosts filedescriptor after parsing. --- diff --git a/src/tools.cc b/src/tools.cc index c9f9878bf4..e206ea4007 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -1,6 +1,6 @@ /* - * $Id: tools.cc,v 1.230 2003/01/23 00:37:27 robertc Exp $ + * $Id: tools.cc,v 1.231 2003/02/08 02:32:53 robertc Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -996,6 +996,7 @@ parseEtcHosts(void) skip: wordlistDestroy(&hosts); } + fclose (fp); } int