mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
don't insist that rbtdb->cachestats exists.
This commit is contained in:
parent
23c1dfbb54
commit
cf751b1c9b
1 changed files with 3 additions and 1 deletions
|
|
@ -706,7 +706,9 @@ free_rbtdb_callback(isc_task_t *task, isc_event_t *event) {
|
|||
static void
|
||||
update_cachestats(dns_rbtdb_t *rbtdb, isc_result_t result) {
|
||||
INSIST(IS_CACHE(rbtdb));
|
||||
INSIST(rbtdb->cachestats != NULL);
|
||||
|
||||
if (rbtdb->cachestats == NULL)
|
||||
return;
|
||||
|
||||
switch (result) {
|
||||
case ISC_R_SUCCESS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue