mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 15:02:53 -04:00
REQUIRE() testing wrong variable, (viewptr != NULL) not (view != NULL).
This commit is contained in:
parent
92450223ca
commit
9feed601eb
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ dns_c_view_delete(isc_log_t *lctx,
|
|||
{
|
||||
dns_c_view_t *view;
|
||||
|
||||
REQUIRE(view != NULL);
|
||||
REQUIRE(viewptr != NULL);
|
||||
|
||||
if (*viewptr == NULL) {
|
||||
return (ISC_R_SUCCESS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue