]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove reference to isc_time member "seconds", which doesn't exist in win32
authorEvan Hunt <each@isc.org>
Fri, 22 Jan 2010 01:35:06 +0000 (01:35 +0000)
committerEvan Hunt <each@isc.org>
Fri, 22 Jan 2010 01:35:06 +0000 (01:35 +0000)
lib/dns/zone.c

index 6d8ed9e6dd2be3ee92d1f03371aa1293a71f88ed..103786e16f1a97768c16cd0a432bb9a0e8bc53b9 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.540.2.11 2010/01/14 23:49:45 each Exp $ */
+/* $Id: zone.c,v 1.540.2.12 2010/01/22 01:35:06 each Exp $ */
 
 /*! \file */
 
@@ -13756,10 +13756,12 @@ zone_rekey(dns_zone_t *zone) {
 
                /* Keys couldn't be updated for some reason; try again later. */
                if (result != ISC_R_SUCCESS) {
+                       isc_interval_t ival;
                        dns_zone_log(zone, ISC_LOG_ERROR, "zone_rekey:"
                                     "couldn't update zone keys: %s",
                                     isc_result_totext(result));
-                       zone->refreshkeytime.seconds += HOUR;
+                       isc_interval_set(&ival, HOUR, 0);
+                       isc_time_nowplusinterval(&zone->refrekshkeytime, &ival);
                        goto failure;
                }