mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
use RUNTIME_CHECK
This commit is contained in:
parent
1a2a19c693
commit
2f36a62d16
@ -3982,7 +3982,7 @@ fctx_try(fetchctx_t *fctx, bool retrying, bool badcache) {
|
||||
&fctx->qminfetch);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
LOCK(&fctx->res->buckets[fctx->bucketnum].lock);
|
||||
bucket_empty = fctx_decreference(fctx);
|
||||
RUNTIME_CHECK(!fctx_decreference(fctx));
|
||||
UNLOCK(&fctx->res->buckets[fctx->bucketnum].lock);
|
||||
fctx_done(fctx, DNS_R_SERVFAIL, __LINE__);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user