REQUIRE() testing wrong variable, (viewptr != NULL) not (view != NULL).

This commit is contained in:
Mark Andrews 1999-10-14 05:02:42 +00:00
parent 92450223ca
commit 9feed601eb

View file

@ -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);