Commit 0ca1225e authored by Brian Wellington's avatar Brian Wellington
Browse files

more bugs

parent 626f97e2
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.2 2001/03/02 01:30:32 bwelling Exp $ */
/* $Id: check.c,v 1.3 2001/03/02 03:09:27 bwelling Exp $ */
#include <config.h>
......@@ -197,7 +197,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
cfg_obj_t *views = NULL;
cfg_obj_t *obj;
cfg_listelt_t *velement;
isc_boolean_t result = ISC_R_SUCCESS;
isc_result_t result = ISC_R_SUCCESS;
(void)cfg_map_get(config, "view", &views);
......@@ -262,6 +262,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
(void)cfg_map_get(config, "options", &options);
if (options != NULL) {
obj = NULL;
result = cfg_map_get(options, "cache-file", &obj);
if (result == ISC_R_SUCCESS) {
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
......@@ -269,6 +270,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
"option if views are present");
result = ISC_R_FAILURE;
}
result = ISC_R_SUCCESS;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment