From: Mark Andrews Date: Tue, 2 Apr 2002 08:04:42 +0000 (+0000) Subject: missed one change X-Git-Tag: v9.0.1^2~8409 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2eeaed2812c732430b0a4a57d5d3f58f01cfeab7;p=thirdparty%2Fbind9.git missed one change --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 081aaea60d8..b7b85a8a7aa 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