From 2eeaed2812c732430b0a4a57d5d3f58f01cfeab7 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 2 Apr 2002 08:04:42 +0000 Subject: [PATCH] missed one change --- lib/dns/zone.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 081aaea60d..b7b85a8a7a 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.366 2002/04/02 06:53:58 marka Exp $ */ +/* $Id: zone.c,v 1.367 2002/04/02 08:04:42 marka Exp $ */ #include @@ -2228,7 +2228,8 @@ zone_needdump(dns_zone_t *zone, unsigned int delay) { if (isc_time_isepoch(&zone->dumptime) || isc_time_compare(&zone->dumptime, &dumptime) > 0) zone->dumptime = dumptime; - zone_settimer(zone, &now); + if (zone->task != NULL) + zone_settimer(zone, &now); } static void