From 7acfb3bcd29db4f19aa42690826e57dafdd28cda Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 18 Aug 2000 22:32:45 +0000 Subject: [PATCH] previous change did not compile --- lib/dns/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/cache.c b/lib/dns/cache.c index 7fc55a8e2e..222af8b2f3 100644 --- a/lib/dns/cache.c +++ b/lib/dns/cache.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: cache.c,v 1.27 2000/08/18 21:22:26 gson Exp $ */ +/* $Id: cache.c,v 1.28 2000/08/18 22:32:45 gson Exp $ */ #include @@ -303,7 +303,7 @@ dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int t) { * It may be the case that the cache has already shut down. * If so, it has no timer. */ - if (cache->timer == NULL) + if (cache->cleaner.cleaning_timer == NULL) goto unlock; cache->cleaner.cleaning_interval = t;