From ea462c55f1b6ea7da635cf1507023695678f3dc6 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 17 Mar 2000 18:27:41 +0000 Subject: [PATCH] Fix typo. Use #if ... #endif to comment out a section that had been commented out with C++ // comments. The // comments are not supported by all C compilers. --- lib/dns/config/confndc.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/dns/config/confndc.c b/lib/dns/config/confndc.c index 21b7d71ed3..9e167f67b0 100644 --- a/lib/dns/config/confndc.c +++ b/lib/dns/config/confndc.c @@ -474,7 +474,7 @@ dns_c_ndcserverlist_destroy(dns_c_ndcserverlist_t **servers) dns_c_ndcserver_t *p; isc_mem_t *mem; - REQUIRE(server != NULL); + REQUIRE(servers != NULL); slist = *servers; @@ -1425,9 +1425,7 @@ eat_eos(ndcpcontext *pctx) } - - - +#if 0 // // static isc_boolean_t // match_token(ndcpcontext *pctx, isc_uint32_t token, isc_boolean_t advance) { @@ -1513,8 +1511,7 @@ eat_eos(ndcpcontext *pctx) // return (rval); // } // #endif - - +#endif /* ************************************************** */