mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-24 18:30:38 -05:00
move declaration to start of block
This commit is contained in:
parent
1aa8b80767
commit
06dbd20c66
1 changed files with 3 additions and 3 deletions
|
|
@ -303,16 +303,16 @@ dns_badcache_flush(dns_badcache_t *bc) {
|
|||
|
||||
void
|
||||
dns_badcache_flushname(dns_badcache_t *bc, dns_name_t *name) {
|
||||
unsigned int i;
|
||||
dns_bcentry_t *bad, *prev, *next;
|
||||
isc_result_t result;
|
||||
isc_time_t now;
|
||||
unsigned int i;
|
||||
|
||||
REQUIRE(VALID_BADCACHE(bc));
|
||||
REQUIRE(name != NULL);
|
||||
|
||||
LOCK(&bc->lock);
|
||||
|
||||
isc_time_t now;
|
||||
isc_result_t result;
|
||||
result = isc_time_now(&now);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
isc_time_settoepoch(&now);
|
||||
|
|
|
|||
Loading…
Reference in a new issue