* 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 */
/* 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;
}