aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@bumblebury.com>2002-01-07 20:55:35 +0000
committerSterling Hughes <sterling@bumblebury.com>2002-01-07 20:55:35 +0000
commitbd878756fc6700f47859844f9d652199fd62cea6 (patch)
tree3011366fed712f43596a7c381d3ba1b007e3899d
parent8d7f402efbcace85851c6bb8f6aa2452c15a9595 (diff)
Probably not necessary, but good practice.
-rw-r--r--lib/hostip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 791ee030c..9d0013ffe 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -89,6 +89,7 @@ void Curl_global_host_cache_dtor(void)
{
if (host_cache_initialized) {
curl_hash_clean(&hostname_cache);
+ host_cache_initialized = 0;
}
}