From 9feed601ebaa68210c5d907f7246c4f95d855176 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 14 Oct 1999 05:02:42 +0000 Subject: [PATCH] REQUIRE() testing wrong variable, (viewptr != NULL) not (view != NULL). --- lib/dns/config/confview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/config/confview.c b/lib/dns/config/confview.c index 73a518f758..467def2700 100644 --- a/lib/dns/config/confview.c +++ b/lib/dns/config/confview.c @@ -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);